Skip to content

Commit

Permalink
fix: Reference correct tag name variable in release pipeline
Browse files Browse the repository at this point in the history
Using the $GIT_TAG_NAME variable wasn't quite working for the release pipeline,
so this PR switches to the ${{ steps.tagName.output.tag }} variable, which should work.
  • Loading branch information
tomasfarias committed May 1, 2021
1 parent e387b71 commit 4875891
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Get tag
id: tagName
uses: olegtarasov/[email protected]
with:
tagRegex: "v(.*)"
Expand All @@ -79,4 +80,4 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
tags: tomasfarias/c2g:$GIT_TAG_NAME,tomasfarias/c2g:latest
tags: tomasfarias/c2g:${{ steps.tagName.outputs.tag }},tomasfarias/c2g:latest

0 comments on commit 4875891

Please sign in to comment.