1 parent 73a39f7 commit a6a2278Copy full SHA for a6a2278
1 file changed
.github/workflows/release.yml
@@ -23,6 +23,10 @@ jobs:
23
env:
24
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
25
26
+ - name: Get the tag
27
+ id: get_tag
28
+ run: echo ::set-output name=TAG::${GITHUB_REF/refs\/tags\//}
29
+
30
- name: Set up Docker Buildx
31
uses: docker/setup-buildx-action@v1
32
- name: Login to GitHub Container Registry
@@ -38,4 +42,4 @@ jobs:
38
42
push: true
39
43
tags: |
40
44
ghcr.io/${{ github.repository_owner }}/git-vertag:latest
41
- ghcr.io/${{ github.repository_owner }}/git-vertag:${{ github.event.tag_name }}
45
+ ghcr.io/${{ github.repository_owner }}/git-vertag:${{ steps.get_tag.outputs.TAG }}
0 commit comments