Skip to content

Commit 04d8607

Browse files
fix: update Docker image build command in CI workflow to use lowercase repository name
1 parent 10e0a8a commit 04d8607

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@ jobs:
3838
- name: Build and Push Docker image
3939
working-directory: "./"
4040
run: |
41-
docker build -t ghcr.io/${{ github.repository }}:${{ steps.set-tag.outputs.IMAGE_TAG }} .
42-
docker push ghcr.io/${{ github.repository }}:${{ steps.set-tag.outputs.IMAGE_TAG }}
41+
REPO_NAME="${GITHUB_REPOSITORY,,}"
42+
docker build -t ghcr.io/${REPO_NAME}:${{ steps.set-tag.outputs.IMAGE_TAG }} .
43+
docker push ghcr.io/${REPO_NAME}:${{ steps.set-tag.outputs.IMAGE_TAG }}

0 commit comments

Comments
 (0)