1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00

Update ghcr login

This commit is contained in:
William Perdue 2021-11-14 21:28:46 -08:00
parent 424443cb3d
commit 289557251b

View File

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