Skip to content

Commit

Permalink
Merge pull request #2 from manuelbuil/sriov
Browse files Browse the repository at this point in the history
Add the sriov in the image name
  • Loading branch information
manuelbuil authored Feb 24, 2021
2 parents 4bf4763 + c4352b3 commit f8df9ad
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ image-build:
docker build \
--build-arg ARCH=$(ARCH) \
--build-arg TAG=$(TAG) \
--tag $(ORG)/hardened-network-resources-injector:$(TAG) \
--tag $(ORG)/hardened-network-resources-injector:$(TAG)-$(ARCH) \
--tag $(ORG)/hardened-sriov-network-resources-injector:$(TAG) \
--tag $(ORG)/hardened-sriov-network-resources-injector:$(TAG)-$(ARCH) \
.

.PHONY: image-push
image-push:
docker push $(ORG)/hardened-network-resources-injector:$(TAG)-$(ARCH)
docker push $(ORG)/hardened-sriov-network-resources-injector:$(TAG)-$(ARCH)

.PHONY: image-manifest
image-manifest:
DOCKER_CLI_EXPERIMENTAL=enabled docker manifest create --amend \
$(ORG)/hardened-network-resources-injector:$(TAG) \
$(ORG)/hardened-network-resources-injector:$(TAG)-$(ARCH)
$(ORG)/hardened-sriov-network-resources-injector:$(TAG) \
$(ORG)/hardened-sriov-network-resources-injector:$(TAG)-$(ARCH)
DOCKER_CLI_EXPERIMENTAL=enabled docker manifest push \
$(ORG)/hardened-network-resources-injector:$(TAG)
$(ORG)/hardened-sriov-network-resources-injector:$(TAG)

.PHONY: image-scan
image-scan:
trivy --severity $(SEVERITIES) --no-progress --ignore-unfixed $(ORG)/hardened-network-resources-injector:$(TAG)
trivy --severity $(SEVERITIES) --no-progress --ignore-unfixed $(ORG)/hardened-sriov-network-resources-injector:$(TAG)

0 comments on commit f8df9ad

Please sign in to comment.