We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 66c4650 + 540bb0e commit be2e27aCopy full SHA for be2e27a
.github/workflows/docker-build-push.yml
@@ -52,8 +52,10 @@ jobs:
52
tags: ${{ steps.meta.outputs.tags }}
53
labels: ${{ steps.meta.outputs.labels }}
54
- name: Install cosign
55
+ if: github.ref == 'refs/heads/main'
56
uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3.8.1
57
- name: Sign the Docker image
58
59
working-directory: ${{ env.IMAGE }}
60
env:
61
DIGEST: ${{ steps.build.outputs.digest }}
0 commit comments