workflows:
version: 2
javabuild:
jobs:
- commit-check:
filters:
tags:
only: /.*/
- unit-tests:
requires:
- commit-check
filters:
tags:
only: /.*/
- check-pmd:
requires:
- commit-check
filters:
tags:
only: /.*/
- checkstyle:
requires:
- commit-check
filters:
tags:
only: /.*/
- build-service:
requires:
- commit-check
filters:
tags:
only: /.*/
- docker-build:
filters:
tags:
only: /.*/
requires:
- build-service
- unit-tests
- checkstyle
- check-pmd
- deploy-dev:
requires:
- docker-build
filters:
tags:
only: /^dev.*/
branches:
ignore: /.*/
I am using dynamic config and wanted to use git tag to trigger deploy in dev. The above is the generated config yml after initial setup. I have tried to explicitly state filters but when I pushed git tag the deploy-dev jobs still wasnât triggered. Is there something wrong with my script?