ci: lowercase the GHCR image repository path (#22)

github.repository preserves the owner's mixed-case login
(ServeurpersoCom), but GHCR/OCI repository names must be all
lowercase, so every docker/build-push-action tag failed with
'repository name must be lowercase'.

Co-authored-by: Gary <gitea@gerasch.dev>
This commit is contained in:
Stefan Gerasch
2026-08-07 08:27:14 +02:00
committed by GitHub
co-authored by Gary
parent 07f837494a
commit 37d62e42a0
+1 -1
View File
@@ -42,7 +42,7 @@ jobs:
id: tags
shell: bash
run: |
image="ghcr.io/${{ github.repository }}"
image="ghcr.io/$(echo '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')"
variant="${{ matrix.variant }}"
tags="${image}:${variant}-${{ github.sha }}"
if [ "${{ github.ref }}" = "refs/heads/master" ]; then