Skip to content

Commit

Permalink
update image name and path
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Downs <[email protected]>
  • Loading branch information
briandowns committed Aug 20, 2020
1 parent b67aec0 commit eb1cf68
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 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/image-build-crictl:$(TAG)-$(ARCH) .
docker build --build-arg TAG=$(TAG) -t rancher/crictl:$(TAG)-$(ARCH) .

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

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

.PHONY: image-manifest
image-manifest:
docker image inspect rancher/image-build-crictl:$(TAG)-$(ARCH)
DOCKER_CLI_EXPERIMENTAL=enabled docker manifest create rancher/image-build-crictl:$(TAG)-$(ARCH) \
$(shell docker image inspect rancher/image-build-crictl:$(TAG)-$(ARCH) | jq -r '.[] | .RepoDigests[0]')
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]')

0 comments on commit eb1cf68

Please sign in to comment.