2 Commits

Author SHA1 Message Date
8f938f999e pipeline job umbenannt 2025-10-04 19:07:49 +02:00
4c6635f989 fixed misspelling set_tag to set-tag 2025-10-04 13:40:17 +02:00

View File

@@ -17,7 +17,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
build-and-test: dotnet-build-and-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
@@ -43,7 +43,7 @@ jobs:
set-tag: set-tag:
name: Set Tag Name name: Set Tag Name
needs: [build-and-test] needs: [dotnet-build-and-test]
#if: ${{ !failure() && !cancelled() && github.event_name != 'pull_request' }} #if: ${{ !failure() && !cancelled() && github.event_name != 'pull_request' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
@@ -95,7 +95,7 @@ jobs:
docker-build-and-push: docker-build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [build-and-test, set-tag] needs: [dotnet-build-and-test, set-tag]
if: | if: |
needs.set-tag.outputs.should_tag == 'true' && needs.set-tag.outputs.should_tag == 'true' &&
github.event_name != 'pull_request' github.event_name != 'pull_request'
@@ -117,7 +117,7 @@ jobs:
run: | run: |
docker buildx build \ docker buildx build \
--platform ${{ env.DOCKER_PLATFORMS }} \ --platform ${{ env.DOCKER_PLATFORMS }} \
-t ${{ env.REGISTRY_URL }}/watcher/${{ env.DOCKER_IMAGE_NAME }}:${{ needs.set_tag.outputs.tag_name }} \ -t ${{ env.REGISTRY_URL }}/watcher/${{ env.DOCKER_IMAGE_NAME }}:${{ needs.set-tag.outputs.tag_name }} \
--push . --push .
tag: tag: