File tree 1 file changed +7
-0
lines changed 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,13 @@ jobs:
176
176
run : |
177
177
chainloop attestation --name slsa-attestation add --value ${{ steps.slsa-attest.outputs.bundle-path }} --kind SLSA_PROVENANCE --attestation-id ${{ env.ATTESTATION_ID }}
178
178
179
+ - name : Include source code on attestation
180
+ run : |
181
+ # This needs to run AFTER goreleaser to make sure the source code is available
182
+
183
+ gh release download ${{ github.ref_name }} -A tar.gz -O source-code.tar.gz
184
+ chainloop attestation add --name source-code --value source-code.tar.gz --kind ARTIFACT --attestation-id ${{ env.ATTESTATION_ID }}
185
+
179
186
- name : Bump Chart and Dagger Version
180
187
run : .github/workflows/utils/bump-chart-and-dagger-version.sh deployment/chainloop extras/dagger ${{ github.ref_name }}
181
188
- name : Bump Project Version
You can’t perform that action at this time.
0 commit comments