Added Discord notification
All checks were successful
Docker Build / Build Docker image (push) Successful in 10m2s
All checks were successful
Docker Build / Build Docker image (push) Successful in 10m2s
This commit is contained in:
@ -41,4 +41,28 @@ jobs:
|
|||||||
--tag uzurka/freebox-telegraf:${{ github.sha }} \
|
--tag uzurka/freebox-telegraf:${{ github.sha }} \
|
||||||
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
||||||
--push \
|
--push \
|
||||||
.
|
.
|
||||||
|
|
||||||
|
- name: Test Success
|
||||||
|
uses: rjstone/discord-webhook-notify@v1
|
||||||
|
if: success()
|
||||||
|
with:
|
||||||
|
severity: info
|
||||||
|
details: Freebox-telegraf Docker image build sucessfull !
|
||||||
|
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
|
|
||||||
|
- name: Test Failure
|
||||||
|
uses: rjstone/discord-webhook-notify@v1
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
severity: error
|
||||||
|
details: Freebox-telegraf Docker image build failed !
|
||||||
|
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
|
|
||||||
|
- name: Test Cancelled
|
||||||
|
uses: rjstone/discord-webhook-notify@v1
|
||||||
|
if: cancelled()
|
||||||
|
with:
|
||||||
|
severity: warn
|
||||||
|
details: Freebox-telegraf Docker image build cancelled !
|
||||||
|
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
Reference in New Issue
Block a user