From 6b7f9f2fb45dd6a0f01ab528cf2d307f7fb3fe65 Mon Sep 17 00:00:00 2001 From: Yagiz Nizipli Date: Sun, 20 Jun 2021 15:30:03 +0300 Subject: [PATCH] build: fix release name reference on github actions --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3b2ca93..61d6a19 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,7 @@ jobs: with: push: true tags: | - ${{ github.repository }}:${{ github.ref }} + ${{ github.repository }}:${{ github.event.release.tag_name }} ${{ github.repository }}:latest push_to_github: @@ -45,6 +45,6 @@ jobs: with: push: true tags: | - docker.pkg.github.com/${{ github.repository }}:${{ github.ref }} + docker.pkg.github.com/${{ github.repository }}:${{ github.event.release.tag_name }} docker.pkg.github.com/${{ github.repository }}:latest