Skip to content
Myr

fix: correct attestation subjects

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Use the original files as the source, rather than the file that is uploaded to the artifact, as that is actually a zip file (what?)

authored by Thayne McCombs · committed by Thayne McCombs · parent d6b44b8 · Browse files · 1 file+4 added−10 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Fixes: #1936

Diff stats

1 file+4 added−10 removed

  • other:+4 added−10 removed

1 file+4 added−10 removed

modified:.github/workflows/CICD.yml+4 added-10 removed
273 unmodified lines
274 run: |275 unset IS_RELEASE ; if [[ $GITHUB_REF =~ ^refs/tags/v[0-9].* ]]; then IS_RELEASE='true' ; fi276 echo "IS_RELEASE=${IS_RELEASE}" >> $GITHUB_OUTPUT277278 - name: "Attest artifact: tarball"278 - name: "Attest artifacts"279 uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4280 if: steps.is-release.outputs.IS_RELEASE281 with:282 subject-name: ${{ steps.package.outputs.PKG_NAME }}283 subject-digest: sha256:${{ steps.upload-tarball.outputs.artifact-digest }}282 subject-path: |283 ${{ steps.package.outputs.PKG_PATH }}284 ${{ steps.debian-package.outputs.DPKG_PATH }}285285 - name: "Attest artifact: Debian package"286 uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4287 if: 'steps.is-release.outputs.IS_RELEASE && steps.debian-package.outputs.DPKG_NAME'288 with:289 subject-name: ${{ steps.debian-package.outputs.DPKG_NAME }}290 subject-digest: sha256:${{ steps.upload-deb.outputs.artifact-digest }}291286 - name: Publish archives and packages287 uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1288 if: steps.is-release.outputs.IS_RELEASE289 with:
17 unmodified lines