Skip to content
Snippets Groups Projects
Unverified Commit 8443e12e authored by dlorenc's avatar dlorenc Committed by GitHub
Browse files

Add a Makefile target for the "ko apply" step. (#572)


We now pass enough LDFLAGs that this will help keep things consistent.

Signed-off-by: default avatarDan Lorenc <lorenc.d@gmail.com>
parent 15e7905a
No related branches found
No related tags found
No related merge requests found
......@@ -119,6 +119,9 @@ ko:
--platform=all --tags $(GIT_VERSION) --tags $(GIT_HASH) \
github.com/sigstore/rekor/cmd/rekor-cli
deploy:
LDFLAGS="$(SERVER_LDFLAGS)" GIT_HASH=$(GIT_HASH) GIT_VERSION=$(GIT_VERSION) ko apply -f config/
sign-container: ko
cosign sign --key .github/workflows/cosign.key -a GIT_HASH=$(GIT_HASH) ${KO_DOCKER_REPO}/rekor-server:$(GIT_HASH)
cosign sign --key .github/workflows/cosign.key -a GIT_HASH=$(GIT_HASH) ${KO_DOCKER_REPO}/rekor-cli:$(GIT_HASH)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment