File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 28
28
registry : ghcr.io
29
29
username : ${{ github.repository_owner }}
30
30
password : ${{ secrets.GITHUB_TOKEN }}
31
+ - name : downcase REPO
32
+ run : |
33
+ echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
31
34
- name : Build and push docker containers
32
35
uses : docker/build-push-action@v4
33
36
with :
@@ -38,10 +41,10 @@ jobs:
38
41
MKDOCS_MATERIAL_VERSION=${{ vars.MKDOCS_MATERIAL_VERSION }}
39
42
push : true
40
43
tags : |
41
- ${{ github.repository } }:${{ vars.MKDOCS_MATERIAL_VERSION }}
42
- ${{ github.repository } }:latest
43
- ghcr.io/${{ github.repository } }:${{ vars.MKDOCS_MATERIAL_VERSION }}
44
- ghcr.io/${{ github.repository } }:latest
44
+ ${REPO }:${{ vars.MKDOCS_MATERIAL_VERSION }}
45
+ ${REPO }:latest
46
+ ghcr.io/${REPO }:${{ vars.MKDOCS_MATERIAL_VERSION }}
47
+ ghcr.io/${REPO }:latest
45
48
- name : Sync readme.md to docker hub
46
49
uses : ms-jpq/sync-dockerhub-readme@v1
47
50
with :
You can’t perform that action at this time.
0 commit comments