We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 907ac09 commit daf8dd7Copy full SHA for daf8dd7
1 file changed
.github/workflows/docker-image-testing.yaml
@@ -18,6 +18,11 @@ jobs:
18
- name: Run Gosec Security Scanner
19
uses: securego/gosec@master
20
21
+ - name: Install Cosign
22
+ uses: sigstore/cosign-installer@v3.8.1
23
+ with:
24
+ cosign-release: 'v2.4.3'
25
+
26
- name: Set up Docker Buildx
27
uses: docker/setup-buildx-action@v3
28
@@ -36,3 +41,9 @@ jobs:
36
41
push: true
37
42
build-args: VERSION=testing-${{ github.sha }}
38
43
tags: docker.io/wollomatic/socket-proxy:testing,docker.io/wollomatic/socket-proxy:testing-${{ github.sha }}
44
45
+ - name: Sign images for all platforms
46
+ 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 }}
47
+ env:
48
+ COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
49
+ COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
0 commit comments