Skip to content

Commit efde83c

Browse files
author
dlorenc
authored
Fix signing for the cosigned image. (#634)
Signed-off-by: Dan Lorenc <[email protected]>
1 parent 508cc59 commit efde83c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,5 @@ jobs:
5050
run: gcloud auth configure-docker --quiet
5151
- name: container
5252
run: echo -n "${{secrets.COSIGN_PASSWORD}}" | KO_PREFIX=gcr.io/projectsigstore/cosign/ci make sign-container
53+
- name: cosigned
54+
run: echo -n "${{secrets.COSIGN_PASSWORD}}" | KO_PREFIX=gcr.io/projectsigstore/cosign/ci make sign-cosigned

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ ko-local:
102102
.PHONY: sign-container
103103
sign-container: ko
104104
cosign sign -key .github/workflows/cosign.key -a GIT_HASH=$(GIT_HASH) ${KO_PREFIX}/cosign:$(GIT_HASH)
105+
106+
.PHONY: sign-cosigned
107+
sign-cosigned:
105108
cosign sign -key .github/workflows/cosign.key -a GIT_HASH=$(GIT_HASH) ${KO_PREFIX}/cosigned:$(GIT_HASH)
106109

107110
# used when releasing together with GCP CloudBuild

0 commit comments

Comments
 (0)