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:
parent
424443cb3d
commit
289557251b
8
.github/workflows/docker.yml
vendored
8
.github/workflows/docker.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user