Do not run tests on tags
All checks were successful
Run Tests / run-tests (push) Successful in 40s
Build & Release / build-docker-image (push) Successful in 1m42s
Build & Release / deploy-to-production (push) Successful in 7s

This commit is contained in:
2026-05-02 16:00:57 +02:00
parent 18a0bd77bd
commit 9932fd8b52
2 changed files with 6 additions and 13 deletions

View File

@@ -1,10 +1,8 @@
name: Build & Release
on:
workflow_run:
workflows:
- "Run Tests"
types:
- completed
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
env:
ENDPOINT: services-3
@@ -16,13 +14,7 @@ env:
jobs:
build-branch:
runs-on: node20
steps:
- run: echo "${{ gitea.event.workflow_run.head_branch }}"
build-docker-image:
if: ${{ gitea.event.workflow_run.conclusion == 'success' && startsWith(gitea.event.workflow_run.head_branch, 'refs/tag') }}
runs-on: node20
container:
image: catthehacker/ubuntu:act-24.04
@@ -31,7 +23,6 @@ jobs:
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.SSH_JOHN_PRIVATE_KEY }}
ref: ${{ gitea.event.workflow_run.head_branch }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Devsoap Container Registry