From 9888dab4440ddbb5dd44adbbace2ad3e2dcfb814 Mon Sep 17 00:00:00 2001 From: mmmohebi Date: Tue, 18 Nov 2025 12:45:38 +0330 Subject: [PATCH] chore(.github/workflows): Lowercase image name in GHCR Converts the GitHub repository name to lowercase when constructing the `IMAGE_NAME` for pushing to GitHub Container Registry. This ensures consistency and avoids potential issues with case-sensitive image names. --- .github/workflows/create-image.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-image.yaml b/.github/workflows/create-image.yaml index 66f72dd..a816716 100644 --- a/.github/workflows/create-image.yaml +++ b/.github/workflows/create-image.yaml @@ -20,7 +20,7 @@ jobs: - name: Build and Push Docker Image env: - IMAGE_NAME: ${{ format('ghcr.io/{0}', github.repository) }} + IMAGE_NAME: ${{ format('ghcr.io/{0}', toLower(github.repository)) }} run: | docker build . --tag "${IMAGE_NAME}:${{ github.ref_name }}" docker push "${IMAGE_NAME}:${{ github.ref_name }}"