mirror of https://github.com/lus/pasty.git
Update ghcr login
This commit is contained in:
parent
424443cb3d
commit
289557251b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue