fix: only run docker pipelines when needed #182
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,7 @@ jobs:
|
|||
validate-docker-frontend:
|
||||
runs-on: ubuntu-latest
|
||||
name: Docker frontend validation
|
||||
if: ${{ needs.changed_files.outputs.frontend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
|
@ -92,6 +93,7 @@ jobs:
|
|||
validate-docker-backend:
|
||||
runs-on: ubuntu-latest
|
||||
name: Docker backend validation
|
||||
if: ${{ needs.changed_files.outputs.backend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
|
|
Reference in a new issue