Skip to content

Commit

Permalink
Merge pull request containerd#11049 from austinvazquez/publish-attest…
Browse files Browse the repository at this point in the history
…ation-with-release-artifacts

Publish attestation as release artifact
  • Loading branch information
samuelkarp authored Nov 25, 2024
2 parents 9dfdb24 + 3961dc9 commit df06f44
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,13 @@ jobs:
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
path: builds
- name: Attest Artifacts
id: attest
uses: actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v1.4.4
with:
subject-path: ./builds/release-tars-**/*.tar.gz
- name: Rename attestation artifact
run: mv ${{ steps.attest.outputs.bundle-path }} containerd-${{ needs.check.outputs.stringver }}-attestation.intoto.jsonl
- name: Create Release
uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0
with:
Expand All @@ -158,8 +165,5 @@ jobs:
body_path: ./builds/containerd-release-notes/release-notes.md
files: |
builds/release-tars-**/*
containerd-*-attestation.intoto.jsonl
make_latest: false
- name: Attest Artifacts
uses: actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v1.4.4
with:
subject-path: ./builds/release-tars-**/*.tar.gz

0 comments on commit df06f44

Please sign in to comment.