Skip to content

Commit e43e01f

Browse files
committed
fix registry name
1 parent dd45651 commit e43e01f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/build-docker/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ runs:
7373
id: meta
7474
uses: docker/metadata-action@v5
7575
with:
76-
images: ${{ inputs.registry }}/${{ inputs.image-name }}
76+
images: ${{ inputs.registry == 'docker.io' && inputs.image-name || format('{0}/{1}', inputs.registry, inputs.image-name) }}
7777
tags: |
7878
# For releases: apply SemVer tags and latest (excludes pre-releases automatically)
7979
type=semver,pattern={{version}}

0 commit comments

Comments
 (0)