From dff5ca7e9259ce6c6e313f73005ddcfc43a6dee7 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Mon, 20 May 2024 23:03:22 +0300 Subject: [PATCH] Attempt docker release fix --- .github/workflows/docker-publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index e53dfb542..6ec215ba1 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -30,7 +30,7 @@ jobs: run: | echo "IMAGE_NAME=${REPO,,}" >> ${GITHUB_ENV} - # Using the following workaround because currently GitHub Actions + # Using the following workaround because currently GitHub Actions # does not support logical AND/OR operations on triggers # It's currently not possible to have `branches` under the `schedule` trigger - name: Checkout the release branch (on release) @@ -92,5 +92,6 @@ jobs: - name: Docker tag latest and push if: ${{ github.event_name == 'release' }} run: | + IMAGE_NAME="${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}" docker tag $IMAGE_NAME:${{ github.ref_name }} $IMAGE_NAME:latest docker push $IMAGE_NAME:latest