Switch to Depot-recommended GHCR push method.
This commit is contained in:
parent
0b8e3dafdc
commit
517f43f190
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue