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