Squashed '.ci/' changes from 2c44e4f..47b4da4

47b4da4 feat: add suport for trivyignore file

git-subtree-dir: .ci
git-subtree-split: 47b4da4b18ca0aa2dc21aa196c2f034d78832fd9
This commit is contained in:
Stefan Reimer 2024-08-30 12:53:52 +00:00
parent dbcb709c4f
commit 2314e8a57b

View File

@ -46,7 +46,7 @@ test:: ## test built artificats
scan: ## Scan image using trivy
echo "Scanning $(IMAGE):$(TAG)-$(_ARCH) using Trivy $(TRIVY_REMOTE)"
trivy image $(TRIVY_OPTS) --quiet --no-progress localhost/$(IMAGE):$(TAG)-$(_ARCH)
trivy image $(TRIVY_OPTS) --quiet --no-progress --ignorefile ./.trivyignore.yaml localhost/$(IMAGE):$(TAG)-$(_ARCH)
# first tag and push all actual images
# create new manifest for each tag and add all available TAG-ARCH before pushing