docs: update github-actions.md

Due to the wrong yaml format, failed to login in ghcr.io
This commit is contained in:
Richard 2021-03-03 12:11:45 +08:00 committed by GitHub
parent 66a1f9c60c
commit 27674691e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ Next, change your Docker Hub login to a GitHub container registry login:
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
registry: ghcr.io
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
```