From ece9bc562d63c362e196686659bdefc6eb1927ff Mon Sep 17 00:00:00 2001 From: jordy25519 Date: Fri, 27 Sep 2024 09:26:33 +0800 Subject: [PATCH] .. --- .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 0978567..a8b6032 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: - "master" env: REGISTRY: ghcr.io - IMAGE_NAME: "test-${{ github.repository }}" + IMAGE_NAME: ${{ github.repository }} jobs: docker: @@ -27,7 +27,7 @@ jobs: - name: Build image run: | docker build -f test.Dockerfile .\ - -t "${REGISTRY}/${IMAGE_NAME}:${GITHUB_SHA::6}"\ + -t "${REGISTRY}/${IMAGE_NAME}:${GITHUB_SHA:0:6}"\ -t "${REGISTRY}/${IMAGE_NAME}:${VERSION_TAG}"\ -t "${REGISTRY}/${IMAGE_NAME}:latest" env: