added push listening

This commit is contained in:
2025-10-04 13:36:23 +02:00

View File

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