Use GITHUB_TOKEN for publishing images to GHCR

This commit is contained in:
Sviatoslav Sydorenko 2021-03-29 13:14:51 +02:00 committed by GitHub
parent ce35a2d0ab
commit 1c5dd0358a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: |