1
0
mirror of synced 2026-10-24 12:59:22 +03:00
Files
cosign/release/release.mk
Hayden f5373b0660 Switch from cosign copy to oras copy (#4819)
cosign copy does not copy referring artifacts, so we'll use oras instead
as part of the build step.

Fixes #4818

Signed-off-by: Hayden <8418760+Hayden-IO@users.noreply.github.com>
2026-05-06 16:40:07 -04:00

22 lines
598 B
Makefile

##################
# release section
##################
# used when releasing together with GCP CloudBuild
.PHONY: release
release:
LDFLAGS="$(LDFLAGS)" goreleaser release --parallelism 1 --clean --timeout 120m
######################
# sign section
######################
.PHONY: sign-release-images
sign-release-images: ko
GIT_HASH=$(GIT_HASH) GIT_VERSION=$(GIT_VERSION) \
./release/ko-sign-release-images.sh
# used when need to validate the goreleaser
.PHONY: snapshot
snapshot:
LDFLAGS="$(LDFLAGS)" goreleaser release --skip=sign,publish --snapshot --clean --timeout 120m --parallelism 1