mirror of https://github.com/docker/docs.git
Merge pull request #12431 from liuxingyu521/patch-1
docs: update github-actions.md
This commit is contained in:
commit
1e773fde8c
|
|
@ -207,7 +207,7 @@ Next, change your Docker Hub login to a GitHub container registry login:
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GHCR_TOKEN }}
|
password: ${{ secrets.GHCR_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue