Merge pull request #589 from webknjaz/patch-1

Use `GITHUB_TOKEN` for publishing images to GHCR
This commit is contained in:
Mike Cao 2021-04-08 21:04:01 -07:00 committed by GitHub
commit e67b0c7845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,9 +28,9 @@ jobs:
. .
- name: Docker login - name: Docker login
env: run: >-
CR_PAT: ${{ secrets.CR_PAT }} echo "${{ secrets.GITHUB_TOKEN }}"
run: docker login -u $GITHUB_ACTOR -p $CR_PAT ghcr.io | docker login -u "${{ github.actor }}" --password-stdin
- name: Push image to GitHub - name: Push image to GitHub
run: | run: |