Fixes
Build - Docker Image - PROD / publish (push) Has been cancelled
Build - Docker Image - RC / publish (push) Has been cancelled

This commit is contained in:
JonatanRek
2025-11-25 12:18:32 +01:00
parent e70cf5cdf7
commit f3b3a51ef6
7 changed files with 53 additions and 220 deletions
+7 -11
View File
@@ -1,10 +1,12 @@
name: "Build - Docker Image"
name: "Build - Docker Image - PROD"
run-name: ${{ gitea.actor }} is runs ci pipeline
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
concurrency:
group: docker-build-dev
cancel-in-progress: true
jobs:
publish:
@@ -15,12 +17,6 @@ jobs:
image: catthehacker/ubuntu:act-latest
steps:
- uses: actions/checkout@v3
- run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- run: |
echo $RELEASE_VERSION
echo '${{ env.RELEASE_VERSION }}' > ./public/version.txt
- uses: docker/setup-buildx-action@v1
@@ -36,7 +32,7 @@ jobs:
push: true
labels: |
org.steelants.image.traffic.version=${{ env.release_version }}
tags: git.steelants.cz/steelants/docker_php_base:${{ env.release_version }}, git.steelants.cz/steelants/docker_php_base:latest
tags: git.steelants.cz/steelants/docker_php_base:latest
# ✅ Notifikace při úspěšném deploymentu
- name: Discord Webhook Success
@@ -62,4 +58,4 @@ jobs:
Repo: ${{ github.repository }}
Branch: ${{ github.ref_name }}
Commit: ${{ github.sha }}
Version: ${{ env.release_version }}
Version: ${{ env.release_version }}