Skip to content

Commit 62bae90

Browse files
committed
[action] cosign by container image name (not by tag)
- Signing by image name will only sign by image digest, according to the documentation. https://docs.sigstore.dev/cosign/sign#sign-a-container-multiple-times
1 parent 50d43d9 commit 62bae90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,14 +203,14 @@ define DOCKER_PUSH
203203
# $(1) -- App Name
204204
# $(2) -- Image Tag
205205
docker push smallstep/$(1):$(2)
206-
cosign sign -r smallstep/$(1):$(2)
207206
endef
208207

209208
docker-tag:
210209
$(call DOCKER_TAG,step-sds,$(VERSION))
211210

212211
docker-push-tag: docker-tag
213212
$(call DOCKER_PUSH,step-sds,$(VERSION))
213+
cosign sign -r smallstep/step-sds
214214

215215
docker-push-tag-latest:
216216
$(call DOCKER_PUSH,step-sds,latest)

0 commit comments

Comments
 (0)