Switch to Depot-recommended GHCR push method.

This commit is contained in:
Buster Neece 2023-02-14 20:31:29 -06:00
parent 0b8e3dafdc
commit 517f43f190
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
1 changed files with 3 additions and 2 deletions

View File

@ -160,6 +160,7 @@ jobs:
permissions:
contents: read
id-token: write
packages: write
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event_name == 'schedule'
steps:
@ -183,8 +184,8 @@ jobs:
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker Metadata
id: meta