Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nifury committed Jul 17, 2024
1 parent 5bd2d37 commit de5194d
Showing 1 changed file with 14 additions and 21 deletions.
35 changes: 14 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,32 +43,25 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
outputs: type=docker,dest=/tmp/python-demo.tar

# - name: Export Docker image
# uses: docker/build-push-action@v6
# - name: Generate SBOM Attestation
# uses: actions/attest-sbom@v1
# with:
# context: .
# file: ./Dockerfile
# outputs: type=docker,dest=/tmp/python-demo.tar
# subject-digest: ${{ steps.push.outputs.digest }}
# subject-name: index.docker.io/xrv40005/python-demo
# sbom-path: ${{ steps.deepbits.outputs.bomPath }}
# push-to-registry: true

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: index.docker.io/xrv40005/python-demo
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

- name: Deepbits SBOM Action
uses: ./.github/deepbits
id: deepbits
with:
apiKey: ${{ secrets.API_KEY }}
path: /tmp/python-demo.tar
project: 667d97a2fad9fb62a091c43c

- name: Generate SBOM Attestation
uses: actions/attest-sbom@v1
with:
subject-digest: ${{ steps.push.outputs.digest }}
subject-name: index.docker.io/xrv40005/python-demo
sbom-path: ${{ steps.deepbits.outputs.bomPath }}
push-to-registry: true

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: index.docker.io/xrv40005/python-demo
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
project: 667d97a2fad9fb62a091c43c

0 comments on commit de5194d

Please sign in to comment.