Update docker login

This commit is contained in:
Mike Cao 2021-04-08 21:49:41 -07:00
parent 42888b75c4
commit c5d23867f5

View File

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