diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 78a7381..32473cc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: @@ -27,4 +30,4 @@ jobs: with: push: true tags: >- - ghcr.io/${{ github.repository }}:${{ github.ref }} + ghcr.io/${{ github.repository }}:${{ steps.vars.outputs.tag }}