File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
Expand file tree Collapse file tree 1 file changed +1
-13
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 2
32+ run : chainloop attestation init --contract-revision 1
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-
7967 - name : Finish and Record Attestation
8068 if : ${{ success() }}
8169 run : |
You can’t perform that action at this time.
0 commit comments