I want to start my workflow on tags that contains the value “buildRelease” so I’m using ‘*buildRelease*’, in practice the branch name would be something like “2.0.1-buildRelease”, “2.0.2-buildRelease”, how do I specify in the workflow config that I want to build with the code base of “2.0.2-buildRelease” and not the latest image of the code.
on: push: tags: -'\*buildRelease\*'
I’m checking out the project like this:
-uses: actions/checkout@v1 with: ref:'branch-name'
So instead of “branch-name” I want to point to the tag name that triggered the workflow.