Squashed '.ci/' changes from 7378ea9..8fb40c7

8fb40c7 fix: adjust trivy call to local podman

git-subtree-dir: .ci
git-subtree-split: 8fb40c7f153e86df15baf1477e29370e1693f4bd
This commit is contained in:
Stefan Reimer 2022-11-18 14:06:38 +01:00
parent c25e2a4322
commit 632076a98d

View File

@ -32,7 +32,7 @@ test: rm-test-image ## Execute Dockerfile.test
scan: ## Scan image using trivy scan: ## Scan image using trivy
echo "Scanning $(IMAGE):$(TAG)-$(ARCH) using Trivy $(TRIVY_REMOTE)" echo "Scanning $(IMAGE):$(TAG)-$(ARCH) using Trivy $(TRIVY_REMOTE)"
trivy image $(TRIVY_OPTS) $(IMAGE):$(TAG)-$(ARCH) trivy image $(TRIVY_OPTS) localhost/$(IMAGE):$(TAG)-$(ARCH)
# first tag and push all actual images # first tag and push all actual images
# create new manifest for each tag and add all available TAG-ARCH before pushing # create new manifest for each tag and add all available TAG-ARCH before pushing