build(ci): add discord message on docker release (#375)

Signed-off-by: Ran Ribenzaft <ranrib@users.noreply.github.com>
This commit is contained in:
Ran Ribenzaft 2022-10-12 08:03:43 +03:00 committed by GitHub
parent 3901786316
commit f1e4e6f08c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -131,4 +131,11 @@ jobs:
uses: CasperWA/push-protected@v2
with:
token: ${{ secrets.DRAGONFLY_TOKEN }}
branch: main
branch: main
- name: Discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@0c4b27844ba47cb1c7bee539c8eead5284ce9fa9
with:
args: 'DragonflyDB version [${{ env.TAG_NAME }}](https://github.com/dragonflydb/dragonfly/releases/tag/v${{ env.TAG_NAME }}) has been released 🎉'