Skip to content

Commit

Permalink
Update Tag
Browse files Browse the repository at this point in the history
  • Loading branch information
lindluni committed Dec 6, 2021
1 parent 87e01c4 commit 4992f03
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Parse Tag
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
Expand All @@ -27,4 +30,4 @@ jobs:
with:
push: true
tags: >-
ghcr.io/${{ github.repository }}:${{ github.ref }}
ghcr.io/${{ github.repository }}:${{ steps.vars.outputs.tag }}

0 comments on commit 4992f03

Please sign in to comment.