fix cicd filters

This commit is contained in:
pida123 2023-08-03 16:12:10 +02:00
parent c9c416d1ea
commit c0d37f8c41

View File

@ -56,7 +56,7 @@ workflows:
when: when:
and: and:
- equal: [ staging, << pipeline.git.branch >> ] - equal: [ staging, << pipeline.git.branch >> ]
- true - << pipeline.git.tag >>
jobs: jobs:
- build-push-docker-image: - build-push-docker-image:
filters: filters:
@ -76,7 +76,7 @@ workflows:
when: when:
and: and:
- equal: [ preprod, << pipeline.git.branch >> ] - equal: [ preprod, << pipeline.git.branch >> ]
- true - << pipeline.git.tag >>
jobs: jobs:
- build-push-docker-image: - build-push-docker-image:
filters: filters:
@ -96,7 +96,7 @@ workflows:
when: when:
and: and:
- equal: [ main, << pipeline.git.branch >> ] - equal: [ main, << pipeline.git.branch >> ]
- true - << pipeline.git.tag >>
jobs: jobs:
- build-push-docker-image: - build-push-docker-image:
filters: filters: