Skip to content

Commit 18f8ac1

Browse files
committed
Try fixing cosign
1 parent df7b950 commit 18f8ac1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci-pipeline.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,11 @@ jobs:
254254
env:
255255
# https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
256256
TAGS: ${{ steps.meta.outputs.tags }}
257-
DIGEST: ${{ steps.build-and-push.outputs.digest }}
258257
# This step uses the identity token to provision an ephemeral certificate
259258
# against the sigstore community Fulcio instance.
260259
run: |
261260
images=""
262261
for tag in ${TAGS}; do
263-
images+="${tag}@${DIGEST} "
262+
images+="${tag}@sha256:$(docker buildx imagetools inspect --format '{{.Digest}}' ${tag}) "
264263
done
265264
cosign sign --yes ${images}

0 commit comments

Comments
 (0)