Skip to content

Commit

Permalink
squash v13
Browse files Browse the repository at this point in the history
  • Loading branch information
kaynetik committed Oct 8, 2024
1 parent f590979 commit 65da963
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,28 +96,18 @@ jobs:
skip-git-pull: true
git-push: false

- name: 📦 Prepare Release Notes
id: release_notes
run: |
echo "## Changelog" > release-body.md
echo "${{ steps.changelog.outputs.changelog }}" >> release-body.md
echo "" >> release-body.md
echo "## Docker Images" >> release-body.md
echo "The following Docker images were built and published to GHCR:" >> release-body.md
echo "" >> release-body.md
TAG="${GITHUB_REF##*/}"
ARCHS=('bun-linux-x64-modern' 'bun-linux-arm64' 'bun-darwin-arm64')
for ARCH in "${ARCHS[@]}"; do
IMAGE="${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${TAG}-${ARCH}"
echo "- [$IMAGE]($IMAGE)" >> release-body.md
done
echo "::set-output name=body::$(cat release-body.md)"
- name: 🎉 Create GitHub Release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
tag: ${{ github.ref_name }}
name: ${{ github.ref_name }}
body: ${{ steps.release_notes.outputs.body }}
body: |
${{ steps.changelog.outputs.changelog }}
## Docker Images
The following Docker images were built and published to GHCR:
- [ghcr.io/sedaprotocol/seda-data-proxy:${{ github.ref_name }}-bun-linux-x64-modern](https://ghcr.io/sedaprotocol/seda-data-proxy:${{ github.ref_name }}-bun-linux-x64-modern)
- [ghcr.io/sedaprotocol/seda-data-proxy:${{ github.ref_name }}-bun-linux-arm64](https://ghcr.io/sedaprotocol/seda-data-proxy:${{ github.ref_name }}-bun-linux-arm64)
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 65da963

Please sign in to comment.