diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index 7025c2a..80c52af 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -41,4 +41,28 @@ jobs: --tag uzurka/freebox-telegraf:${{ github.sha }} \ --platform linux/amd64,linux/arm64,linux/arm/v7 \ --push \ - . \ No newline at end of file + . + + - 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 }} \ No newline at end of file