From e2c6eec62844db3fa4a5349910929b5482c9ccb9 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Thu, 31 Jul 2025 17:52:47 +0200 Subject: [PATCH] updated release flow --- .github/workflows/build-docker.yml | 46 +++++++++++++++--------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 81489f648..f3499786f 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -94,34 +94,34 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max -# notify-stable: -# name: Notify Stable -# runs-on: ubuntu-latest -# needs: build-container -# if: startsWith(github.ref, 'refs/tags/') -# steps: -# - name: Set tag name -# run: | -# # Strip "refs/tags/" prefix -# echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV -# # Send stable discord notification -# - name: Discord notification -# env: -# DISCORD_WEBHOOK: ${{ secrets.DISCORD_RELEASE_WEBHOOK }} -# uses: Ilshidur/action-discord@0.3.2 -# with: -# args: '🚀 Version {{ VERSION }} of tandoor has been released 🥳 Check it out https://github.com/vabene1111/recipes/releases/tag/{{ VERSION }}' - - notify-beta: - name: Notify Beta + notify-stable: + name: Notify Stable runs-on: ubuntu-latest needs: build-container if: startsWith(github.ref, 'refs/tags/') steps: - # Send beta discord notification + - name: Set tag name + run: | + # Strip "refs/tags/" prefix + echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV + # Send stable discord notification - name: Discord notification env: - DISCORD_WEBHOOK: ${{ secrets.DISCORD_BETA_WEBHOOK }} + DISCORD_WEBHOOK: ${{ secrets.DISCORD_RELEASE_WEBHOOK }} uses: Ilshidur/action-discord@0.3.2 with: - args: '🚀 The Tandoor 2 Image has been updated! 🥳' + args: '🚀 Version {{ VERSION }} of tandoor has been released 🥳 Check it out https://github.com/vabene1111/recipes/releases/tag/{{ VERSION }}' + +# notify-beta: +# name: Notify Beta +# runs-on: ubuntu-latest +# needs: build-container +# if: startsWith(github.ref, 'refs/tags/') +# steps: +# # Send beta discord notification +# - name: Discord notification +# env: +# DISCORD_WEBHOOK: ${{ secrets.DISCORD_BETA_WEBHOOK }} +# uses: Ilshidur/action-discord@0.3.2 +# with: +# args: '🚀 The Tandoor 2 Image has been updated! 🥳'