diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ab56cb38..41b82928 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,9 +28,9 @@ jobs: . - name: Docker login - env: - CR_PAT: ${{ secrets.CR_PAT }} - run: docker login -u $GITHUB_ACTOR -p $CR_PAT ghcr.io + run: >- + echo "${{ secrets.GITHUB_TOKEN }}" + | docker login -u "${{ github.actor }}" --password-stdin - name: Push image to GitHub run: |