File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ GENERATE_VEX_PREFIX ?= ghcr.io/siderolabs/generate-vex
3232GENERATE_VEX ?= latest
3333
3434KRES_IMAGE ?= ghcr.io/siderolabs/kres:latest
35+ IMAGE_SIGNER_IMAGE ?= ghcr.io/siderolabs/image-signer:latest
3536CONFORMANCE_IMAGE ?= ghcr.io/siderolabs/conform:latest
3637
3738PKG_APPARMOR ?= $(PKGS_PREFIX ) /apparmor:$(PKGS )
@@ -662,11 +663,7 @@ image-list: ## Prints a list of all images built by this Makefile with digests.
662663
663664.PHONY : sign-images
664665sign-images : # # Run cosign to sign all images built by this Makefile.
665- @for image in $(shell $(MAKE ) --quiet image-list REGISTRY_AND_USERNAME=$(REGISTRY_AND_USERNAME ) IMAGE_TAG_IN=$(IMAGE_TAG_IN ) ) ; do \
666- echo ' ==>' $$ image; \
667- cosign verify $$ image --certificate-identity-regexp ' @siderolabs\.com$$' --certificate-oidc-issuer https://accounts.google.com || \
668- cosign sign --yes $$ image; \
669- done
666+ @docker run --pull=always --rm --net=host $(IMAGE_SIGNER_IMAGE ) sign $(shell $(MAKE ) --quiet image-list REGISTRY_AND_USERNAME=$(REGISTRY_AND_USERNAME ) IMAGE_TAG_IN=$(IMAGE_TAG_IN ) )
670667
671668.PHONY : reproducibility-test
672669reproducibility-test : $(ARTIFACTS )
You can’t perform that action at this time.
0 commit comments