mirror of
https://github.com/miaowware/qrm2.git
synced 2025-04-11 05:58:31 -04:00
better ghcr login (#431)
This commit is contained in:
parent
4fb1320b2d
commit
de0e25b09a
8
.github/workflows/docker.yml
vendored
8
.github/workflows/docker.yml
vendored
@ -31,8 +31,12 @@ jobs:
|
||||
echo ::set-output name=image_name::$IMAGE_NAME
|
||||
docker build . --file Dockerfile -t $IMAGE_NAME
|
||||
|
||||
- name: Log into Github Package Registry
|
||||
run: echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||
- name: Login to Github Container Registry
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Tag image
|
||||
id: tag_image
|
||||
|
Loading…
Reference in New Issue
Block a user