@@ -43,32 +43,25 @@ jobs:
4343 labels : ${{ steps.meta.outputs.labels }}
4444 outputs : type=docker,dest=/tmp/python-demo.tar
4545
46- # - name: Export Docker image
47- # uses: docker/build-push-action@v6
46+ # - name: Generate SBOM Attestation
47+ # uses: actions/attest-sbom@v1
4848# with:
49- # context: .
50- # file: ./Dockerfile
51- # outputs: type=docker,dest=/tmp/python-demo.tar
49+ # subject-digest: ${{ steps.push.outputs.digest }}
50+ # subject-name: index.docker.io/xrv40005/python-demo
51+ # sbom-path: ${{ steps.deepbits.outputs.bomPath }}
52+ # push-to-registry: true
53+
54+ - name : Generate artifact attestation
55+ uses : actions/attest-build-provenance@v1
56+ with :
57+ subject-name : index.docker.io/xrv40005/python-demo
58+ subject-digest : ${{ steps.push.outputs.digest }}
59+ push-to-registry : true
5260
5361 - name : Deepbits SBOM Action
5462 uses : ./.github/deepbits
5563 id : deepbits
5664 with :
5765 apiKey : ${{ secrets.API_KEY }}
5866 path : /tmp/python-demo.tar
59- project : 667d97a2fad9fb62a091c43c
60-
61- - name : Generate SBOM Attestation
62- uses : actions/attest-sbom@v1
63- with :
64- subject-digest : ${{ steps.push.outputs.digest }}
65- subject-name : index.docker.io/xrv40005/python-demo
66- sbom-path : ${{ steps.deepbits.outputs.bomPath }}
67- push-to-registry : true
68-
69- - name : Generate artifact attestation
70- uses : actions/attest-build-provenance@v1
71- with :
72- subject-name : index.docker.io/xrv40005/python-demo
73- subject-digest : ${{ steps.push.outputs.digest }}
74- push-to-registry : true
67+ project : 667d97a2fad9fb62a091c43c
0 commit comments