Update workflow

This commit is contained in:
Mike Cao 2021-04-08 21:35:53 -07:00
parent e67b0c7845
commit 42888b75c4

View File

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