Update Docker build workflow to enforce lowercase repository names
All checks were successful
CI / ci (push) Successful in 14s
CI / ci (pull_request) Successful in 14s

- Modified the Docker build process in docker-build.yml to convert the repository name to lowercase, ensuring consistent image naming conventions.
- This change helps prevent potential issues with case sensitivity in image tags when pushing to the registry.
This commit is contained in:
2026-02-07 18:08:44 +03:00
parent 0a3c0ac54d
commit 84cd602cea

View File

@@ -34,7 +34,8 @@ jobs:
- name: Build and push - name: Build and push
run: | run: |
IMAGE="${{ steps.registry.outputs.host }}/${{ github.repository }}" REPO_LOWER=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
IMAGE="${{ steps.registry.outputs.host }}/$REPO_LOWER"
TAG="${{ steps.meta.outputs.tag }}" TAG="${{ steps.meta.outputs.tag }}"
docker build -t "$IMAGE:$TAG" -t "$IMAGE:latest" . docker build -t "$IMAGE:$TAG" -t "$IMAGE:latest" .
docker push "$IMAGE:$TAG" docker push "$IMAGE:$TAG"