From 11c076e9b40c191eb9356f7cb5a9b3a8c08f200c Mon Sep 17 00:00:00 2001 From: selfhst-bot Date: Sun, 10 Aug 2025 05:50:35 -0400 Subject: [PATCH] Set release mode to draft --- .github/workflows/build-and-push.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index e2f14b99..dbbfd72d 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -87,6 +87,28 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max + - name: Create GitHub Release + if: github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'build/') + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: v${{ steps.version.outputs.version }} + release_name: Release v${{ steps.version.outputs.version }} + body: | + ## What's Changed + - Docker images updated to version ${{ steps.version.outputs.version }} + + ## Docker Images + ``` + docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.version }} + docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest + ``` + + Supported platforms: linux/amd64, linux/arm64, linux/arm/v7 + draft: true + prerelease: false + - name: Output image info run: | echo "🐳 Images built and pushed:"