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