Skip to content

Commit b7c295b

Browse files
authored
Cosign fix (#30)
* fix: added image signing * fix: fixed indentation - DOC-965
1 parent 73dbde5 commit b7c295b

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/release.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -79,18 +79,18 @@ jobs:
7979
- uses: sigstore/[email protected]
8080

8181
- name: Image Signing
82-
run: |
83-
cosign sign --yes \
84-
-a "repo=${{ github.repository }}" \
85-
-a "workflow=${{ github.workflow }}" \
86-
-a "ref=${{ github.sha }}" \
87-
-a "owner=Spectro Cloud" \
88-
--key env://COSIGN_PRIVATE_KEY --recursive "${TAGS}@${DIGEST}"
89-
env:
90-
TAGS: ghcr.io/${{ github.repository }}:${{steps.dependencies.outputs.VERSION}}
91-
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
92-
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
93-
DIGEST: ${{ steps.build-and-push.outputs.digest }}
82+
run: |
83+
cosign sign --yes \
84+
-a "repo=${{ github.repository }}" \
85+
-a "workflow=${{ github.workflow }}" \
86+
-a "ref=${{ github.sha }}" \
87+
-a "owner=Spectro Cloud" \
88+
--key env://COSIGN_PRIVATE_KEY --recursive "${TAGS}@${DIGEST}"
89+
env:
90+
AGS: ghcr.io/${{ github.repository }}:${{steps.dependencies.outputs.VERSION}}
91+
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
92+
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
93+
DIGEST: ${{ steps.build-and-push.outputs.digest }}
9494

9595

9696
release:

0 commit comments

Comments
 (0)