Skip to content

Commit

Permalink
Fix releases for private repositories
Browse files Browse the repository at this point in the history
Signed-off-by: Levi Pesin <[email protected]>
  • Loading branch information
LeviPesin committed Nov 13, 2024
1 parent c2ea3c9 commit f7b7048
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,7 @@ jobs:
git -c tar.tar.gz.command='gzip -cn' archive --format=tar.gz --prefix="$archivename/" -o "../$archivename.tar.gz" "$tag"
gpg --armor --detach-sign "../$archivename.tar.gz"
gpg --armor --detach-sign /tmp/image.tar
gpg --armor --detach-sign /tmp/sbom-ghcr.spdx.json
gpg --armor --detach-sign /tmp/sbom-dockerhub.spdx.json
gpg --armor --detach-sign /tmp/sbom-*.spdx.json
env:
tag: ${{ github.ref_name }}
archivename: ${{ steps.archive-name.outputs.name }}
Expand All @@ -381,9 +380,7 @@ jobs:
/tmp/image.tar
/tmp/image.tar.asc
../${{ steps.archive-name.outputs.name }}.tar.gz.asc
/tmp/sbom-ghcr.spdx.json
/tmp/sbom-dockerhub.spdx.json
/tmp/sbom-ghcr.spdx.json.asc
/tmp/sbom-dockerhub.spdx.json.asc
/tmp/sbom-*.spdx.json
/tmp/sbom-*.spdx.json.asc
body: ${{ steps.extract-release-notes.outputs.release_notes }}
fail_on_unmatched_files: true

0 comments on commit f7b7048

Please sign in to comment.