This commit is contained in:
2025-10-04 13:29:28 +02:00
parent e385eb94f4
commit b012693c21

View File

@@ -3,8 +3,8 @@ name: Gitea CI/CD
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
branches: [ "development", "main", "staging" ] branches: [ "development", "main", "staging" ]
tags: [ "v*.*.*" ] tags: [ "v*.*.*" ]
env: env:
DOTNET_VERSION: '8.0.x' DOTNET_VERSION: '8.0.x'
@@ -96,6 +96,9 @@ jobs:
docker-build-and-push: docker-build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [build-and-test, set-tag] needs: [build-and-test, set-tag]
if: |
needs.set-tag.outputs.should_tag == 'true' &&
github.event_name != 'pull_request'
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4