Fix 403s when pushing images to GHCR

This commit is contained in:
Florian Piesche
2022-06-13 18:28:45 +01:00
committed by GitHub
parent 523d303766
commit 7f387ce6aa

View File

@@ -65,6 +65,19 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
- name: build & push images
uses: docker/build-push-action@v2
with: