Compare commits

...

2 Commits

Author SHA1 Message Date
3433fa2fb8 Merge pull request 'Update Docker build workflow to enforce lowercase repository names' (#2) from develop into main
Some checks failed
Docker build and release / build-and-push (push) Failing after 1m57s
Docker build and release / release (push) Has been skipped
CI / ci (push) Successful in 14s
Reviewed-on: #2
2026-02-07 18:10:06 +03:00
84cd602cea 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.
2026-02-07 18:08:44 +03:00

View File

@@ -34,7 +34,8 @@ jobs:
- name: Build and push
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 }}"
docker build -t "$IMAGE:$TAG" -t "$IMAGE:latest" .
docker push "$IMAGE:$TAG"