Skip to content

Commit 781c481

Browse files
authored
Update docker-publish.yml - Slight cleanup
1 parent 05e95eb commit 781c481

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99

1010
env:
11-
REGISTRY: ghcr.io
11+
GHCR_REGISTRY: ghcr.io
1212
IMAGE_NAME: ${{ github.repository }}
1313

1414
jobs:
@@ -22,10 +22,10 @@ jobs:
2222
- name: Checkout repository
2323
uses: actions/checkout@v4
2424

25-
- name: Log in to the ghcr Container registry
25+
- name: Log in to the ghcr container registry
2626
uses: docker/login-action@v3
2727
with:
28-
registry: ${{ env.REGISTRY }}
28+
registry: ${{ env.GHCR_REGISTRY }}
2929
username: ${{ github.actor }}
3030
password: ${{ secrets.GITHUB_TOKEN }}
3131

@@ -40,7 +40,7 @@ jobs:
4040
uses: docker/metadata-action@v5
4141
with:
4242
images: |
43-
name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
43+
name=${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}
4444
name=${{ env.IMAGE_NAME }}
4545
flavor: latest=true
4646
tags: |

0 commit comments

Comments
 (0)