Explorar el Código

Docker - Fix publish docker image in GitHub Registry (#235)

* fix publish permission

* try to fix docker pipeline using as password github_token & username repository_owner
Bernat Vadell hace 2 años
padre
commit
0f1b21cb90
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      .github/workflows/docker.yml

+ 1 - 1
.github/workflows/docker.yml

@@ -40,7 +40,7 @@ jobs:
         uses: docker/login-action@v2
         with:
           registry: ghcr.io
-          username: ${{ github.actor }}
+          username: ${{ github.repository_owner }}
           password: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Build and push Docker image (versioned)