Skip to content

Commit ad558f7

Browse files
committed
fix(ga): Follows the official documentation for the action
https://github.com/docker/login-action?tab=readme-ov-file#github-container-registry
1 parent cdc5909 commit ad558f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/github-docker-registry-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ jobs:
9191
uses: docker/login-action@v3
9292
with:
9393
registry: ghcr.io
94-
username: ${{ env.GHCR_USERNAME }}
95-
password: ${{ env.GHCR_TOKEN }}
94+
username: ${{ github.actor }}
95+
password: ${{ secrets.GITHUB_TOKEN }}
9696

9797
- name: Extract branch name
9898
# This step extracts the branch name

0 commit comments

Comments
 (0)