diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index f3499786f..94e6151c6 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -74,9 +74,8 @@ jobs: flavor: | latest=false suffix=${{ matrix.suffix }} - # disable latest for tagged releases while in beta - # type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }} tags: | + type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }} type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} @@ -112,16 +111,16 @@ jobs: 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 -# 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! 🥳' + notify-beta: + name: Notify Beta + runs-on: ubuntu-latest + needs: build-container + if: github.ref == 'refs/heads/beta' + 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! 🥳'