Skip to content

Commit 0ed2f30

Browse files
authored
Workaround for buildx not liking the capital letter in my username
1 parent 6415678 commit 0ed2f30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
id: prep
2323
run: |
2424
REPO=$CI_REPOSITORY_NAME
25-
DOCKER_IMAGE=${{ github.repository_owner }}/${REPO}
25+
OWNER="$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')"
26+
DOCKER_IMAGE=${OWNER}/${REPO}
2627
if [ "$CI_REF_NAME" == "master" ];then VERSION=latest;fi
2728
if [ "$CI_REF_NAME" == "dev" ];then VERSION=mightly;fi
2829
if [ "$CI_REF_NAME" == "dockserver" ];then VERSION=dockserver;fi

0 commit comments

Comments
 (0)