Update ghcr login

This commit is contained in:
William Perdue 2021-11-14 21:28:46 -08:00
parent 424443cb3d
commit 289557251b
1 changed files with 6 additions and 2 deletions

View File

@ -8,6 +8,10 @@ on:
paths-ignore:
- '**.md'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
@ -32,8 +36,8 @@ jobs:
- name: log in to ghcr
uses: docker/login-action@v1
with:
registry: ghcr.io
username: lus
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.CR_TOKEN }}
- name: build and push
uses: docker/build-push-action@v2