Require tests pass before publishing new version
All checks were successful
Run Tests / run-tests (push) Successful in 38s

This commit is contained in:
2026-05-02 12:33:45 +02:00
parent 450533414e
commit 247c6aea10
2 changed files with 10 additions and 3 deletions

View File

@@ -1,8 +1,10 @@
name: Build & Release
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
workflow_run:
workflows:
- "Run Tests"
types:
- completed
env:
ENDPOINT: services-3
@@ -15,6 +17,7 @@ env:
jobs:
build-docker-image:
if: ${{ gitea.event.workflow_run.conclusion == 'success' && startsWith(gitea.event.workflow_run.head_branch, 'refs/tags/') }}
runs-on: node20
container:
image: catthehacker/ubuntu:act-24.04
@@ -23,6 +26,7 @@ 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