Here’s my workflow:
# ____________
#__/ Workflows \_______________________________________________________________
workflows:
version: 2
untaggedd:
jobs:
- latex:
filters:
tags:
ignore: /.*/
tagged:
jobs:
- latex:
filters:
tags:
only: /.*/
branches:
ignore: /.*/
- publish-tag:
requires:
- latex
filters:
tags:
only: /.*/
branches:
ignore: /.*/
I am expecting that if I have a tag, only the tagged workflow is executed.
What is happening is:
-
Both of the workflows (tagged and untagged) are executed: Why?
-
The tagged workflow fails with:
Either git or ssh (required by git to clone through SSH) is not installed in the image. Falling back to CircleCI’s native git client but the behavior may be different from official git. If this is an issue, please use an image that has official git and ssh installed.
Enumerating objects: 77, done.
Counting objects: 100% (77/77), done.
Compressing objects: 100% (54/54), done.
Total 77 (delta 31), reused 63 (delta 17), pack-reused 0object not found
That is mighty strange as it is the exact same workflow that works fine in the untagged build: same code.
I am utterly baffled: what am I doing wrong here?