ci: log in to ghcr.io prior to build & push step (#152)
This commit is contained in:
parent
187b79fd16
commit
cbde991fb2
7
.github/workflows/docker-image-push.yml
vendored
7
.github/workflows/docker-image-push.yml
vendored
|
@ -41,6 +41,13 @@ jobs:
|
|||
with:
|
||||
install: true
|
||||
|
||||
- name: Log in to ghcr.io
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build Docker image
|
||||
env:
|
||||
PLATFORMS: linux/amd64,linux/arm64/v8,linux/arm/v7
|
||||
|
|
Loading…
Reference in a new issue