From 745c8e1baa7295b6af9b27d9277b14049aece501 Mon Sep 17 00:00:00 2001 From: Nicolas Chan Date: Thu, 3 Jun 2021 23:17:31 -0700 Subject: [PATCH] Fix tag name --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 096f35e..00523b3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,8 +51,8 @@ jobs: - name: Build the Docker image run: | echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin - docker build . --file Dockerfile --tag ghcr.io/nicolaschan/minecraft-backup:$RELEASE_VERSION --tag ghcr.io/nicolaschan/minecraft-backup:latest - docker push ghcr.io/nicolaschan/minecraft-backup:$RELEASE_VERSION + docker build . --file Dockerfile --tag ghcr.io/nicolaschan/minecraft-backup:${GITHUB_REF#refs/*/} --tag ghcr.io/nicolaschan/minecraft-backup:latest + docker push ghcr.io/nicolaschan/minecraft-backup:${GITHUB_REF#refs/*/} docker push ghcr.io/nicolaschan/minecraft-backup:latest - name: Create Release