Skip to content

Commit 577efc8

Browse files
committed
Use explicit ghcr.io registry
1 parent 965176d commit 577efc8

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
types:
66
- published
77

8-
env:
9-
REGISTRY: ghcr.io
10-
118
jobs:
129
release-phar:
1310
runs-on: ${{ matrix.operating-system }}
@@ -77,7 +74,7 @@ jobs:
7774
- name: Log in to the Container registry
7875
uses: docker/login-action@v3
7976
with:
80-
registry: ${{ env.REGISTRY }}
77+
registry: ghcr.io
8178
username: ${{ github.actor }}
8279
password: ${{ secrets.GITHUB_TOKEN }}
8380

@@ -87,7 +84,7 @@ jobs:
8784
with:
8885
flavor: |
8986
latest=true
90-
images: ${{ env.REGISTRY }}/${{ github.repository }}
87+
images: ghcr.io/${{ github.repository }}
9188
tags: |
9289
type=semver,pattern={{version}}
9390
type=semver,pattern={{major}}.{{minor}}

0 commit comments

Comments
 (0)