mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2025-01-31 11:53:53 +01:00
Merge pull request #5504 from joshooaj/issue-5503
Update "Check Docker image" build step to handle upper case chars in repo names
This commit is contained in:
commit
09ce35d0fa
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -144,9 +144,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Check Docker image
|
- name: Check Docker image
|
||||||
working-directory: /tmp
|
working-directory: /tmp
|
||||||
|
env:
|
||||||
|
REPO_FULL_NAME: '${{ github.event.repository.full_name }}'
|
||||||
run: |
|
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 ${REPO_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 }} build
|
||||||
|
|
||||||
- name: Set platforms
|
- name: Set platforms
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'release'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user