Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Downs <[email protected]>
  • Loading branch information
briandowns committed Aug 31, 2020
1 parent eb1cf68 commit 4fdb670
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ endif

.PHONY: all
all:
docker build --build-arg TAG=$(TAG) -t rancher/crictl:$(TAG)-$(ARCH) .
docker build --build-arg TAG=$(TAG) -t rancher/crictl:$(TAG) .

.PHONY: image-push
image-push:
docker push rancher/crictl:$(TAG)-$(ARCH) >> /dev/null
docker push rancher/crictl:$(TAG) >> /dev/null

.PHONY: scan
image-scan:
trivy --severity $(SEVERITIES) --no-progress --skip-update --ignore-unfixed rancher/crictl:$(TAG)

.PHONY: image-manifest
image-manifest:
docker image inspect rancher/crictl:$(TAG)-$(ARCH)
DOCKER_CLI_EXPERIMENTAL=enabled docker manifest create rancher/crictl:$(TAG)-$(ARCH) \
$(shell docker image inspect rancher/crictl:$(TAG)-$(ARCH) | jq -r '.[] | .RepoDigests[0]')
docker image inspect rancher/crictl:$(TAG)
DOCKER_CLI_EXPERIMENTAL=enabled docker manifest create rancher/crictl:$(TAG) \
$(shell docker image inspect rancher/crictl:$(TAG) | jq -r '.[] | .RepoDigests[0]')
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

```sh
TAG=v1.17.0 make
```
```

0 comments on commit 4fdb670

Please sign in to comment.