Skip to content

Commit

Permalink
ci: only upload release assets to s3 bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
metaclips committed Jan 11, 2025
1 parent 0c4d9cb commit 093f217
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/release-draft-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
docker pull ghcr.io/build-trust/ockam:$ockam_version
\`\`\`"
url_head="https://${{ env.BUCKET_NAME }}.s3.amazonaws.com/${ockam_version}"
url_head="https://${{ env.BUCKET_NAME }}.s3.amazonaws.com/v${ockam_version}"
text="$text
Expand Down Expand Up @@ -282,12 +282,6 @@ jobs:
run: |
cosign sign-blob --yes --key env://PRIVATE_KEY "${{ env.ASSET_OCKAM_CLI }}" > "${{ env.ASSET_OCKAM_CLI }}.sig"
- name: Upload CLI release archive to GitHub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ needs.create_release.outputs.tag_name }} ${{ env.ASSET_OCKAM_CLI }} ${{ env.ASSET_OCKAM_CLI }}.sig --clobber
- name: Upload CLI release archive to AWS
uses: ./.github/actions/aws_upload
with:
Expand Down Expand Up @@ -401,12 +395,6 @@ jobs:
run: |
cosign sign-blob --yes --key env://PRIVATE_KEY ${{ env.FILE_NAME }} > "${{ env.FILE_NAME }}.sig"
- name: Upload NIF to GitHub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ needs.create_release.outputs.tag_name }} ${{ env.FILE_NAME }} ${{ env.FILE_NAME }}.sig --clobber
- name: Upload NIF to AWS
uses: ./.github/actions/aws_upload
with:
Expand Down Expand Up @@ -473,12 +461,6 @@ jobs:
COSIGN_PASSWORD: '${{ secrets.COSIGN_PRIVATE_KEY_PASSWORD }}'
run: cosign sign-blob --yes --key env://PRIVATE_KEY sha256sums.txt > sha256sums.txt.sig

- name: Upload SHASum File to GitHub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ needs.create_release.outputs.tag_name }} sha256sums.txt sha256sums.txt.sig --clobber -R build-trust/ockam
- name: Upload SHASum File to AWS
uses: ./aws/.github/actions/aws_upload
with:
Expand Down

0 comments on commit 093f217

Please sign in to comment.