Build gekoppeld aan mattermost!
All checks were successful
Docker Image CI / build-and-push (push) Successful in 55s
Docker Image CI / deploy (push) Successful in 23s

This commit is contained in:
2025-03-14 17:02:45 +01:00
parent ec2c1f9a78
commit 3365a9cee2

View File

@@ -24,6 +24,13 @@ jobs:
with: with:
name: version name: version
path: version.txt path: version.txt
- name: Notify Mattermost on start build
run: |
curl -X POST -H 'Content-Type: application/json' \
-d '{
"text": "🚀 *Build gestart!* Een nieuwe build [$VERSION-SNAPSHOT] is begonnen voor de repository *${{ gitea.repository }}* op branch *${{ gitea.ref }}*."
}' \
https://mattermost.melvanveen.nl/hooks/gzzhdchjiirbmdfzyw1a9cf4sh
# Stap 3: Inloggen bij Docker Hub # Stap 3: Inloggen bij Docker Hub
- name: Log in to Docker Hub - name: Log in to Docker Hub
@@ -83,3 +90,11 @@ jobs:
# Opruimen oude images # Opruimen oude images
docker image prune -f docker image prune -f
- name: Notify Mattermost on start build
run: |
curl -X POST -H 'Content-Type: application/json' \
-d '{
"text": "🚀 *Build is geslaagd!* Versie [$VERSION-SNAPSHOT] staat klaar op https://test-paypoint.melvanveen.nl"
}' \
https://mattermost.melvanveen.nl/hooks/gzzhdchjiirbmdfzyw1a9cf4sh