Merge pull request 'fix: Add needs' (!184) from add-needs-to-docker-pipelines into main

Reviewed-on: #184
Reviewed-by: Constantin Simonis <constantin@simonis.lol>
This commit is contained in:
Constantin Simonis 2025-05-14 07:40:38 +00:00
commit b37e48da2e
No known key found for this signature in database
GPG key ID: 944223E4D46B7412

View file

@ -77,6 +77,7 @@ jobs:
validate-docker-frontend: validate-docker-frontend:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Docker frontend validation name: Docker frontend validation
needs: changed_files
if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }} if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
@ -93,6 +94,7 @@ jobs:
validate-docker-backend: validate-docker-backend:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Docker backend validation name: Docker backend validation
needs: changed_files
if: ${{ needs.changed_files.outputs.backend == 'true' || needs.changed_files.outputs.workflow == 'true' }} if: ${{ needs.changed_files.outputs.backend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest