File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 2929 fetch-depth : 0
3030
3131 - name : Initialize Attestation
32- run : chainloop attestation init --contract-revision 1
32+ run : chainloop attestation init --contract-revision 2
3333
3434 - name : Set up Go
3535 uses : actions/setup-go@v3
6464 env :
6565 IMAGE : ghcr.io/migmartri/simple-todo:${{ github.ref_name }}
6666
67+ - name : Add Container Image Artifact
68+ run : chainloop attestation add --name image --value ghcr.io/migmartri/simple-todo:${{ github.ref_name }}
69+
70+ - name : Add SBOM Artifact
71+ run : chainloop attestation add --name sbom --value /tmp/sbom.cyclonedx.json
72+
73+ - name : Add Binary Artifact
74+ run : |
75+ BINARY_PATH="$(echo -n '${{ steps.release.outputs.metadata }}' | jq -r '"dist/" + .project_name + "_" + .version + "_" + .runtime.goos + "_" + .runtime.goarch + ".tar.gz"')"
76+
77+ chainloop attestation add --name binary --value ${BINARY_PATH}
78+
6779 - name : Finish and Record Attestation
6880 if : ${{ success() }}
6981 run : |
You can’t perform that action at this time.
0 commit comments