From 9539008e952a108b64c03aa785bc7377f1f50205 Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Thu, 14 Aug 2025 18:05:45 +0200 Subject: [PATCH] filter for chore(release) --- .github/workflows/publish.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 181e7bcf9..c8f986dcf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,6 +10,7 @@ jobs: # JOB: DOCKER BUILD PRODUCTION FRONTEND ###################################### ############################################################################## build_production_frontend: + if: startsWith(github.event.head_commit.message, 'chore(release):') name: Docker Build Production - Frontend runs-on: ubuntu-latest #needs: [nothing] @@ -47,6 +48,7 @@ jobs: # JOB: DOCKER BUILD PRODUCTION ADMIN ######################################### ############################################################################## build_production_admin: + if: startsWith(github.event.head_commit.message, 'chore(release):') name: Docker Build Production - Admin runs-on: ubuntu-latest #needs: [nothing] @@ -84,6 +86,7 @@ jobs: # JOB: DOCKER BUILD PRODUCTION BACKEND ####################################### ############################################################################## build_production_backend: + if: startsWith(github.event.head_commit.message, 'chore(release):') name: Docker Build Production - Backend runs-on: ubuntu-latest #needs: [nothing] @@ -121,6 +124,7 @@ jobs: # JOB: DOCKER BUILD PRODUCTION DHT-NODE ###################################### ############################################################################## build_production_dht-node: + if: startsWith(github.event.head_commit.message, 'chore(release):') name: Docker Build Production - DHT-Node runs-on: ubuntu-latest #needs: [nothing] @@ -158,6 +162,7 @@ jobs: # JOB: DOCKER BUILD PRODUCTION FEDERATION ###################################### ############################################################################## build_production_federation: + if: startsWith(github.event.head_commit.message, 'chore(release):') name: Docker Build Production - Federation runs-on: ubuntu-latest #needs: [nothing] @@ -195,6 +200,7 @@ jobs: # JOB: DOCKER BUILD PRODUCTION DATABASE UP ################################### ############################################################################## build_production_database_up: + if: startsWith(github.event.head_commit.message, 'chore(release):') name: Docker Build Production - Database up runs-on: ubuntu-latest #needs: [nothing] @@ -221,6 +227,7 @@ jobs: # JOB: DOCKER BUILD PRODUCTION NGINX ######################################### ############################################################################## build_production_nginx: + if: startsWith(github.event.head_commit.message, 'chore(release):') name: Docker Build Production - Nginx runs-on: ubuntu-latest #needs: [nothing] @@ -258,6 +265,7 @@ jobs: # JOB: UPLOAD TO DOCKERHUB ################################################### ############################################################################## upload_to_dockerhub: + if: startsWith(github.event.head_commit.message, 'chore(release):') name: Upload to Dockerhub runs-on: ubuntu-latest needs: [build_production_frontend, build_production_backend, build_production_database_up, build_production_nginx] @@ -346,6 +354,7 @@ jobs: ############################################################################## ############################################################################## github_tag: + if: startsWith(github.event.head_commit.message, 'chore(release):') name: Tag latest version on Github runs-on: ubuntu-latest needs: [upload_to_dockerhub]