fix filters cicd
This commit is contained in:
parent
f9c38552fb
commit
3f96640b54
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user