Allow uppercase characters in organization names.
For Docker repository URLs only lower-case characters are allowed. Therefore the action fails for such users/organizations. The PR uses bash parameter substitution to fix that.
This commit is contained in:
parent
f3c6980bb2
commit
202d507839
@ -50,6 +50,7 @@ runs:
|
||||
echo "${{ github.token }}" | ko login ghcr.io --username "dummy" --password-stdin
|
||||
|
||||
# Set KO_DOCKER_REPO for future steps.
|
||||
echo "KO_DOCKER_REPO=ghcr.io/${{ github.repository }}"
|
||||
echo "KO_DOCKER_REPO=ghcr.io/${{ github.repository }}" >> $GITHUB_ENV
|
||||
GITHUB_REPOSITORY="${{ github.repository }}"
|
||||
echo "KO_DOCKER_REPO=ghcr.io/${GITHUB_REPOSITORY,,}"
|
||||
echo "KO_DOCKER_REPO=ghcr.io/${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user