Skip to content

Commit f56f4af

Browse files
committed
Refactor GHCR image name assignment to ensure owner is in lowercase
1 parent 6933b0e commit f56f4af

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/dockerimage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
id: image_names
2626
run: |
2727
DOCKERHUB_IMAGE="evandarwin/lua"
28-
GHCR_IMAGE="ghcr.io/${{ github.repository_owner }}/lua"
28+
OWNER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
29+
GHCR_IMAGE="ghcr.io/${OWNER}/lua"
2930
3031
echo "dockerhub_image=$DOCKERHUB_IMAGE" >> $GITHUB_OUTPUT
3132
echo "ghcr_image=$GHCR_IMAGE" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)