Skip to content

Commit

Permalink
fix: Handle upper case chars in repo name #5503
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
joshooaj committed May 10, 2023
1 parent 8d2c5b5 commit ec2b954
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit ec2b954

Please sign in to comment.