Workaround for buildx not liking the capital letter in my username

This commit is contained in:
Red5d
2021-08-07 13:27:21 -04:00
committed by GitHub
parent 6415678751
commit 0ed2f306cc

View File

@@ -22,7 +22,8 @@ jobs:
id: prep
run: |
REPO=$CI_REPOSITORY_NAME
DOCKER_IMAGE=${{ github.repository_owner }}/${REPO}
OWNER="$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')"
DOCKER_IMAGE=${OWNER}/${REPO}
if [ "$CI_REF_NAME" == "master" ];then VERSION=latest;fi
if [ "$CI_REF_NAME" == "dev" ];then VERSION=mightly;fi
if [ "$CI_REF_NAME" == "dockserver" ];then VERSION=dockserver;fi