From 8764bb5683fe5d7d577108fa4522e684e9e5dcb0 Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Tue, 12 Aug 2025 14:32:46 -0700 Subject: [PATCH] fix more --- .github/workflows/ghrc-push-main.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ghrc-push-main.yml b/.github/workflows/ghrc-push-main.yml index f197fb58..141c5c19 100644 --- a/.github/workflows/ghrc-push-main.yml +++ b/.github/workflows/ghrc-push-main.yml @@ -13,15 +13,19 @@ jobs: # Build ARM64 image on native ARM64 runner build-arm64: runs-on: [linux-arm64] + permissions: + contents: read + packages: write steps: - name: Checkout Repository uses: actions/checkout@v4 - - name: Log in to Docker Hub + - name: Log in to GitHub Container Registry uses: docker/login-action@v3 with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Extract metadata (tags, labels) for Docker id: meta