From ee7b331f9722b0aabacf7de9ff4842f97e87fd09 Mon Sep 17 00:00:00 2001 From: Chad Hutchins Date: Thu, 24 Nov 2022 13:42:29 -0800 Subject: [PATCH] Use GITHUB_TOKEN --- .github/workflows/buildandpush.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/buildandpush.yml b/.github/workflows/buildandpush.yml index a11735e..ed283dd 100644 --- a/.github/workflows/buildandpush.yml +++ b/.github/workflows/buildandpush.yml @@ -21,12 +21,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Log in to the Container registry + - name: Login to GitHub Container Registry uses: docker/login-action@v2 with: - registry: ${{ env.REGISTRY }} + registry: ghcr.io username: ${{ github.actor }} - password: ${{ secrets.PACKAGE_PAT }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Extract metadata (tags, labels) for Docker id: meta