fix filters cicd

This commit is contained in:
pida123 2023-08-03 16:06:03 +02:00
parent f9c38552fb
commit 3f96640b54

View File

@ -56,14 +56,14 @@ workflows:
when:
and:
- equal: [ staging, << pipeline.git.branch >> ]
- << pipeline.git.tag >>
- true
jobs:
- build-push-docker-image:
filters:
tags:
only: /^v.*/
branches:
only: staging
ignore: /.*/
- deploy-docker-image:
env: stg
requires:
@ -80,14 +80,14 @@ workflows:
when:
and:
- equal: [ preprod, << pipeline.git.branch >> ]
- << pipeline.git.tag >>
- true
jobs:
- build-push-docker-image:
filters:
tags:
only: /^v.*/
branches:
only: preprod
ignore: /.*/
- deploy-docker-image:
env: ppd
requires:
@ -104,7 +104,7 @@ workflows:
when:
and:
- equal: [ main, << pipeline.git.branch >> ]
- << pipeline.git.tag >>
- true
jobs:
- build-push-docker-image:
filters: