Skip to content

Commit eb2512a

Browse files
committed
Sign images for Docker registry and GHCR
1 parent 1586a39 commit eb2512a

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/docker-image-release.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,14 @@ jobs:
6060
ghcr.io/wollomatic/socket-proxy:${{ steps.get_tag.outputs.VERSION }}
6161
ghcr.io/wollomatic/socket-proxy:1
6262
63-
- name: Sign images for all platforms
64-
run: cosign sign --yes --key env://COSIGN_PRIVATE_KEY docker.io/wollomatic/socket-proxy:${{ steps.get_tag.outputs.VERSION }}@${{ steps.build-and-push.outputs.digest }}
63+
- name: Sign images for Docker
64+
run: cosign sign --yes --recursive --key env://COSIGN_PRIVATE_KEY docker.io/wollomatic/socket-proxy:${{ steps.get_tag.outputs.VERSION }}@${{ steps.build-and-push.outputs.digest }}
65+
env:
66+
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
67+
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
68+
69+
- name: Sign images for GHCR
70+
run: cosign sign --yes --recursive --key env://COSIGN_PRIVATE_KEY ghcr.io/wollomatic/socket-proxy:${{ steps.get_tag.outputs.VERSION }}@${{ steps.build-and-push.outputs.digest }}
6571
env:
6672
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
6773
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}

0 commit comments

Comments
 (0)