Skip to content

Commit 4875891

Browse files
committed
fix: Reference correct tag name variable in release pipeline
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.
1 parent e387b71 commit 4875891

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release_tag.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070
password: ${{ secrets.DOCKERHUB_TOKEN }}
7171

7272
- name: Get tag
73+
id: tagName
7374
uses: olegtarasov/get-tag@v2.1
7475
with:
7576
tagRegex: "v(.*)"
@@ -79,4 +80,4 @@ jobs:
7980
uses: docker/build-push-action@v2
8081
with:
8182
push: true
82-
tags: tomasfarias/c2g:$GIT_TAG_NAME,tomasfarias/c2g:latest
83+
tags: tomasfarias/c2g:${{ steps.tagName.outputs.tag }},tomasfarias/c2g:latest

0 commit comments

Comments
 (0)