I am attempting to ignore ALL branches and only start the jobs on a tagged build if the tag contains the correct value.
I am using
workflows:
version: 2
deploy_staging:
jobs:
- ios_deploy_staging:
filters:
tags:
only: /^staging-[0-9]+(\.[0-9]+)*$/
branches:
ignore: /.*/
- android_deploy_staging:
filters:
tags:
only: /^staging-[0-9]+(\.[0-9]+)*$/
branches:
ignore: /.*/
- ios_deploy_prod:
filters:
tags:
only: /^prod-[0-9]+(\.[0-9]+)*$/
branches:
ignore: /.*/
- android_deploy_prod:
filters:
tags:
only: /^prod-[0-9]+(\.[0-9]+)*$/
branches:
ignore: /.*/
Weirdly only the
android_deploy_prod
is being ignored, all the remaining jobs run on all branches.
Has anyone seen this before? Frustrating.