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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user