File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 ECR_ACCESS_KEY_ID : ${{ secrets.ECR_ACCESS_KEY_ID }}
2424 ECR_SECRET_ACCESS_KEY : ${{ secrets.ECR_SECRET_ACCESS_KEY }}
2525 GPG_KEY : ${{ secrets.GPG_KEY }}
26- TRIVY_REPO_TOKEN : ${{ secrets.TRIVY_REPO_TOKEN }}
2726 GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
2827
2928 upload-binaries :
Original file line number Diff line number Diff line change 1818 ECR_SECRET_ACCESS_KEY : ${{ secrets.ECR_SECRET_ACCESS_KEY }}
1919 GPG_KEY : ${{ secrets.GPG_KEY }}
2020 GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
21- TRIVY_REPO_TOKEN : ${{ secrets.TRIVY_REPO_TOKEN }}
2221
2322 deploy-packages :
2423 name : Deploy rpm/deb packages
Original file line number Diff line number Diff line change 2424 required : true
2525 GPG_PASSPHRASE :
2626 required : true
27- TRIVY_REPO_TOKEN :
28- required : true
2927
3028env :
3129 GH_USER : " aqua-bot"
3937 permissions :
4038 id-token : write # For cosign
4139 packages : write # For GHCR
42- contents : read # Not required for public repositories, but for clarity
40+ contents : write # For GoReleaser to create the GitHub Release
41+ discussions : write # For GoReleaser to attach the release to a Discussion (discussion_category_name)
4342 attestations : write # For build provenance attestations
4443 steps :
4544 - name : Cosign install
@@ -110,7 +109,7 @@ jobs:
110109 version : v2.1.0
111110 args : release -f=${{ inputs.goreleaser_config}} ${{ inputs.goreleaser_options}}
112111 env :
113- GITHUB_TOKEN : ${{ secrets.TRIVY_REPO_TOKEN }}
112+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
114113 NFPM_DEFAULT_RPM_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
115114 GPG_FILE : " gpg.key"
116115 TMPDIR : " tmp"
You can’t perform that action at this time.
0 commit comments