diff --git a/.github/workflows/publish-container.yml b/.github/workflows/publish-container.yml index a95ac92..a1a0856 100644 --- a/.github/workflows/publish-container.yml +++ b/.github/workflows/publish-container.yml @@ -34,7 +34,7 @@ jobs: with: registry: ${{ steps.registry.outputs.registry }} username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ github.server_url == 'https://github.com' && secrets.GITHUB_TOKEN || secrets.REGISTRY_TOKEN }} - name: Generate image tags id: meta