We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87e01c4 commit 4992f03Copy full SHA for 4992f03
.github/workflows/publish.yml
@@ -16,6 +16,9 @@ jobs:
16
steps:
17
- name: Checkout Code
18
uses: actions/checkout@v2
19
+ - name: Parse Tag
20
+ id: vars
21
+ run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
22
- name: Login to GitHub Container Registry
23
uses: docker/login-action@v1
24
with:
@@ -27,4 +30,4 @@ jobs:
27
30
28
31
push: true
29
32
tags: >-
- ghcr.io/${{ github.repository }}:${{ github.ref }}
33
+ ghcr.io/${{ github.repository }}:${{ steps.vars.outputs.tag }}
0 commit comments