Skip to content

Commit d03683f

Browse files
committed
Correctly lowercase the image name.
1 parent 41b560c commit d03683f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build-docker-image.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@ jobs:
2121
- name: Checkout repository
2222
uses: actions/checkout@v4
2323

24-
- name: Docker metadata
24+
- name: Set image name
25+
run: echo "IMAGE=ghcr.io/${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV
26+
27+
- name: Set Docker metadata
2528
id: meta
2629
uses: docker/metadata-action@v5
2730
with:
28-
images: ghcr.io/${{ toLower(github.repository) }}
31+
images: ${{ env.IMAGE }}
2932
tags: |
3033
type=raw,value=latest,enable={{is_default_branch}}
3134
type=sha

0 commit comments

Comments
 (0)