Refactor Docker setup: move Dockerfiles to respective directories and add supervisor configurations
Build - Docker Image - PROD / publish (push) Has been cancelled
Build - Docker Image - PROD / publish (push) Has been cancelled
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user