mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-24 17:34:17 +03:00
😫 Attempting to authenticate to GHCR
This commit is contained in:
parent
8042a251d1
commit
d519d36e36
4
.github/workflows/docker-publish.yml
vendored
4
.github/workflows/docker-publish.yml
vendored
@ -1,8 +1,6 @@
|
|||||||
# Builds a Docker image from with latest tag when master branch is updated
|
# Builds a Docker image from with latest tag when master branch is updated
|
||||||
# The publishes it to GitHub container registry as a package
|
# The publishes it to GitHub container registry as a package
|
||||||
name: Build and Publish Docker Image to GHCR
|
name: Build and Publish Docker Image to GHCR
|
||||||
permissions:
|
|
||||||
packages: write
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
@ -24,7 +22,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.PAT_GHCR }}
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user