diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml index 4bbb1439..9a5095fc 100644 --- a/.github/workflows/next.yml +++ b/.github/workflows/next.yml @@ -62,6 +62,13 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Login to GitHub Container Registry + if: contains(steps.determine.outputs.tags, 'ghcr.io') + uses: docker/login-action@v1 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push uses: docker/build-push-action@v2 with: