😫 Attempting to authenticate to GHCR

This commit is contained in:
Alicia Sykes 2021-08-14 23:05:44 +01:00 committed by GitHub
parent 8042a251d1
commit d519d36e36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: