fix: Handle upper case chars in repo name #5503

This resolves an error on the "Check Docker image" build step for any forks under GitHub users with an upper case character in their GitHub username.
This commit is contained in:
Josh Hendricks 2023-05-10 16:46:45 -07:00
parent 8d2c5b5db4
commit ec2b954f6c
No known key found for this signature in database
GPG Key ID: C64D30312CA0A331

View File

@ -144,9 +144,11 @@ jobs:
- name: Check Docker image
working-directory: /tmp
env:
REPO_FULL_NAME: '${{ github.event.repository.full_name }}'
run: |
docker run --rm -i -v ${PWD}:/docs ${{ github.event.repository.full_name }}:${{ steps.meta.outputs.version }} new .
docker run --rm -i -v ${PWD}:/docs ${{ github.event.repository.full_name }}:${{ steps.meta.outputs.version }} build
docker run --rm -i -v ${PWD}:/docs ${REPO_FULL_NAME,,}:${{ steps.meta.outputs.version }} new .
docker run --rm -i -v ${PWD}:/docs ${REPO_FULL_NAME,,}:${{ steps.meta.outputs.version }} build
- name: Set platforms
if: github.event_name == 'release'