Use GITHUB_TOKEN to run GitHub Actions

This commit is contained in:
Frédéric Guillot
2023-03-27 20:13:25 -07:00
committed by Frédéric Guillot
parent 59a4c7f73b
commit 2f50892c07
3 changed files with 14 additions and 6 deletions

View File

@@ -22,6 +22,8 @@ jobs:
push: false
multiplatform-build:
permissions:
packages: write
if: ${{ ! github.event.pull_request }}
runs-on: ubuntu-latest
steps:
@@ -64,7 +66,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Quay.io Registry
uses: docker/login-action@v2