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: