diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index caa548f..f09b5c2 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -1,8 +1,10 @@ name: Build & Release on: - push: - tags: - - '[0-9]+.[0-9]+.[0-9]+' + workflow_run: + workflows: [ "Run Tests" ] + branches: [ 'refs/tags/[0-9]+.[0-9]+.[0-9]+' ] + types: + - completed env: ENDPOINT: services-3 @@ -15,6 +17,7 @@ env: jobs: build-docker-image: + if: ${{ github.event.workflow_run.conclusion == 'success' }} runs-on: node20 container: image: catthehacker/ubuntu:act-24.04