Circle CI ignores tag push

circle.yml

#1

Although i configured only on tags when pushing a tag not build is being triggered but on the push to master both tag related job are being run.

workflows:
  version: 2
  build_and_test:
    jobs:
      - test
      - build:
          requires:
            - test
          filters:
            tags:
              only:
                - staging
            branches:
              only:
                - master
          context: GOOGLE_PROD
      - deploy_to_prod:
          requires:
            - build
          filters:
            branches:
              only: master
          context: GOOGLE_PROD
      - deploy_to_staging:
          requires:
            - build
          filters:
            tags:
              only:
                - staging
          context: GOOGLE_PROD


#2

You need to add tag filters to all the jobs. Please see the following doc for more information.


#3

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.