We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08308a5 commit 426e154Copy full SHA for 426e154
.github/workflows/docker.yaml
@@ -28,6 +28,9 @@ jobs:
28
- name: Set up Docker Buildx
29
uses: docker/setup-buildx-action@v2
30
31
+ - name: Install cosign
32
+ uses: sigstore/cosign-installer@v3
33
+
34
- name: Log in to GHCR
35
uses: docker/login-action@v3
36
with:
@@ -54,3 +57,8 @@ jobs:
54
57
controlplane/netassertv2-l4-client:latest
55
58
${{ env.GH_REGISTRY }}/controlplaneio/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
56
59
${{ env.GH_REGISTRY }}/controlplaneio/${{ env.IMAGE_NAME }}:latest
60
61
+ - name: Sign artifact
62
+ run: cosign sign --yes $DIGEST_URL
63
+ env:
64
+ DIGEST_URL: ${{ steps.buildpush.outputs.digest }}
0 commit comments