File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- name : WebGSM-Docker.yml # Build and Publish
1
+ name : WebGSM-Docker # Build and Publish
2
2
3
3
on :
4
4
push :
17
17
- name : Set up Docker
18
18
uses : docker/setup-buildx-action@v2
19
19
20
+ - name : Set lowercase repository owner
21
+ run : echo "REPOSITORY_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
22
+
20
23
- name : Log in to GitHub Container Registry
21
24
uses : docker/login-action@v2
22
25
with :
30
33
context : .
31
34
push : true
32
35
tags : |
33
- ghcr.io/${{ github.repository_owner | toLower() }}/webgsm:latest
34
- ghcr.io/${{ github.repository_owner | toLower() }}/webgsm:${{ github.run_number }}
35
-
36
+ ghcr.io/${{ env.REPOSITORY_OWNER }}/webgsm:latest
37
+ ghcr.io/${{ env.REPOSITORY_OWNER }}/webgsm:${{ github.run_number }}
You can’t perform that action at this time.
0 commit comments