From 7cf17ca725a642ccb43319b613c6e107b4cccaa0 Mon Sep 17 00:00:00 2001 From: Yanli Date: Tue, 25 Jun 2024 17:26:04 +0800 Subject: [PATCH] fix action --- .github/workflows/build-docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 60feecc1..842442bf 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -26,11 +26,11 @@ jobs: - name: change-string-case run: | my_string="${{ github.repository }}" - echo "REPO=lowercase_string::${my_string,,}" >> $GITHUB_ENV + echo "REPO=${my_string,,}" >> $GITHUB_ENV - name: Build Docker image uses: docker/build-push-action@v6 with: context: . push: true - tags: ghcr.io/${{ env.REPO.lowercase_string }}:${{ inputs.version }} \ No newline at end of file + tags: ghcr.io/${{ env.REPO }}:${{ inputs.version }} \ No newline at end of file