Refactor Docker setup: move Dockerfiles to respective directories and add supervisor configurations
Build - Docker Image - PROD / publish (push) Has been cancelled

This commit is contained in:
Jonatan Rek
2026-01-28 10:40:10 +01:00
parent 33f9ca082a
commit 189dc975bd
5 changed files with 116 additions and 3 deletions
+33 -3
View File
@@ -33,10 +33,8 @@ jobs:
- uses: docker/build-push-action@v6
with:
context: .
context: ./apache/
push: true
labels: |
org.steelants.image.traffic.version=${{ env.release_version }}
tags: git.steelants.cz/steelants/docker_php_base:latest
# ✅ Notifikace při úspěšném deploymentu
@@ -52,6 +50,38 @@ jobs:
Commit: ${{ github.sha }}
Version: ${{ env.release_version }}
# ❌ Notifikace při neúspěšném deploymentu
- name: Discord Webhook Failure
if: failure()
uses: tsickert/discord-webhook@v6.0.0
with:
webhook-url: ${{ secrets.WEBHOOK_URL }}
content: |
❌ Build failed!
Repo: ${{ github.repository }}
Branch: ${{ github.ref_name }}
Commit: ${{ github.sha }}
Version: ${{ env.release_version }}
- uses: docker/build-push-action@v6
with:
context: ./fmp-alpine/
push: true
tags: git.steelants.cz/steelants/docker_php_base:fpm-alpine-latest
# ✅ Notifikace při úspěšném deploymentu
- name: Discord Webhook Success
if: success()
uses: tsickert/discord-webhook@v6.0.0
with:
webhook-url: ${{ secrets.WEBHOOK_URL }}
content: |
✅ Build successful!
Repo: ${{ github.repository }}
Branch: ${{ github.ref_name }}
Commit: ${{ github.sha }}
Version: ${{ env.release_version }}
# ❌ Notifikace při neúspěšném deploymentu
- name: Discord Webhook Failure
if: failure()