Skip to content

Commit af99c33

Browse files
authored
chore(ci): Move env to job level (#1788)
Signed-off-by: Javier Rodriguez <[email protected]>
1 parent 9c5892c commit af99c33

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
env:
4646
CHAINLOOP_TOKEN: ${{ secrets.CHAINLOOP_TOKEN }}
4747
ATTESTATION_ID: ${{ needs.init_attestation.outputs.attestation_id }}
48+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4849
outputs:
4950
attestation_hash: ${{ steps.attest_goreleaser.outputs.attestation_hash }}
5051

@@ -99,8 +100,6 @@ jobs:
99100

100101
- name: Generate SBOMs, upload to release and attest
101102
id: attest_goreleaser
102-
env:
103-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
104103
run: |
105104
# goreleaser output resides in dist/artifacts.json
106105
# Attest all built containers and manifests

0 commit comments

Comments
 (0)