We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5af224 commit dacc6faCopy full SHA for dacc6fa
.github/workflows/_containerTemplate.yml
@@ -41,6 +41,11 @@ jobs:
41
continue-on-error: false
42
environment: ${{ inputs.environment }}
43
44
+ permissions:
45
+ contents: read
46
+ packages: write
47
+ id-token: write
48
+
49
steps:
50
# Check Out Repository
51
- name: Check Out Repository
@@ -108,8 +113,7 @@ jobs:
108
113
id: sign
109
114
# if: ${{ github.event_name != 'pull_request' }}
110
115
run: |
111
- echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
116
+ cosign sign --yes "${TAGS}@${DIGEST}"
112
117
env:
- # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
118
TAGS: ${{ steps.metadata.outputs.tags }}
119
DIGEST: ${{ steps.build_push.outputs.digest }}
0 commit comments