use GITHUB_TOKEN instead of PAT for ghcr.io publishing
parent
2456b35b5c
commit
51ce56407a
|
@ -36,8 +36,8 @@ jobs:
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ secrets.DOCKER_GITHUB_USERNAME }}
|
username: ${{ github.repository_owner }} # github username or org
|
||||||
password: ${{ secrets.DOCKER_GITHUB_PAT }}
|
password: ${{ secrets.GITHUB_TOKEN }} # github actions builtin token. repo has to have pkg access.
|
||||||
|
|
||||||
# the arm64 is of course much slower due to qemu, so build and push amd64 **first**
|
# the arm64 is of course much slower due to qemu, so build and push amd64 **first**
|
||||||
# due to the way manifests work, the gap between this and the complete push below
|
# due to the way manifests work, the gap between this and the complete push below
|
||||||
|
|
|
@ -49,8 +49,8 @@ jobs:
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ secrets.DOCKER_GITHUB_USERNAME }}
|
username: ${{ github.repository_owner }} # github username or org
|
||||||
password: ${{ secrets.DOCKER_GITHUB_PAT }}
|
password: ${{ secrets.GITHUB_TOKEN }} # github actions builtin token. repo has to have pkg access.
|
||||||
|
|
||||||
# the arm64 is of course much slower due to qemu, so build and push amd64 **first**
|
# the arm64 is of course much slower due to qemu, so build and push amd64 **first**
|
||||||
# due to the way manifests work, the gap between this and the complete push below
|
# due to the way manifests work, the gap between this and the complete push below
|
||||||
|
|
Loading…
Reference in New Issue