From 4c1a2d6ac4e4dd99ee620c2a26bac5eeb9dd2553 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Mon, 6 Nov 2023 23:47:59 +0100 Subject: [PATCH] ci: Use `GITHUB_TOKEN` for auth --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90b7fd3..d8a24b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,7 @@ jobs: with: registry: ${{ env.REGISTRY }} username: ${{ github.repository_owner }} - password: ${{ secrets.GH_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Extract metadata (tags, labels) for Docker id: meta @@ -54,10 +54,9 @@ jobs: id: build uses: docker/build-push-action@v5 with: - build-args: GH_TOKEN=${{ secrets.GH_TOKEN }} context: . file: ./Dockerfile - platforms: linux/arm64/v8 + platforms: linux/amd64,linux/arm64/v8 cache-to: type=gha,mode=max,ignore-error=true cache-from: type=gha push: true