Use secrets.GITHUB_TOKEN

This commit is contained in:
alan 2024-02-26 16:50:28 +00:00 committed by GitHub
parent f3f5f0e620
commit abf63ab0c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,8 +23,8 @@ jobs:
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ github.token }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push AMD64 Docker image
uses: docker/build-push-action@v3
with: