Skip to content

Commit 805c5e6

Browse files
committed
added: Attest step in pipeline actions (test)
1 parent 2034683 commit 805c5e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,11 @@ jobs:
145145
with:
146146
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
147147
subject-digest: ${{ env.DIGEST }}
148-
push-to-registry: true
148+
push-to-registry: false
149149

150150
- name: Sign the published Docker image🔐
151151
env:
152152
COSIGN_EXPERIMENTAL: "true"
153153
run: |
154-
cosign sign ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build.outputs.digest }}
155-
cosign sign docker.io/${{ env.IMAGE_NAME }}@${{ steps.build.outputs.digest }}
154+
cosign sign ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ env.DIGEST }}
155+
cosign sign docker.io/${{ env.IMAGE_NAME }}@${{ env.DIGEST }}

0 commit comments

Comments
 (0)