diff --git a/.github/workflows/publish-docker-on-main.yml b/.github/workflows/publish-docker-on-main.yml index 79c91d8c..bc1438f7 100644 --- a/.github/workflows/publish-docker-on-main.yml +++ b/.github/workflows/publish-docker-on-main.yml @@ -22,8 +22,8 @@ jobs: uses: docker/login-action@v3 with: registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ secrets.GHCR_USER }} + password: ${{ secrets.GHCR_TOKEN }} - name: Build and push Docker image run: | diff --git a/.github/workflows/release-on-tag.yml b/.github/workflows/release-on-tag.yml index 4055a069..92995e5d 100644 --- a/.github/workflows/release-on-tag.yml +++ b/.github/workflows/release-on-tag.yml @@ -34,8 +34,8 @@ jobs: uses: docker/login-action@v3 with: registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ secrets.GHCR_USER }} + password: ${{ secrets.GHCR_TOKEN }} - name: Build and push Docker image run: |