ci: log in to ghcr.io prior to build & push step (#152)

This commit is contained in:
William Boman 2023-03-19 17:18:44 +01:00 committed by GitHub
parent 187b79fd16
commit cbde991fb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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