Skip to content

Commit fc7598a

Browse files
committed
fix: remove trailing hyphen from Docker namespace
1 parent 4d9ddc2 commit fc7598a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Convert repository owner to lowercase
3232
id: lowercase
3333
run: |
34-
OWNER_LOWER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
34+
OWNER_LOWER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]' | sed 's/-$//')
3535
echo "owner=${OWNER_LOWER}" >> $GITHUB_OUTPUT
3636
echo "Converted owner from '${{ github.repository_owner }}' to '${OWNER_LOWER}'"
3737

0 commit comments

Comments
 (0)