From 475328015adf6d102e5227a646e63f6a2b23119f Mon Sep 17 00:00:00 2001 From: Tony Worm Date: Thu, 16 Mar 2023 00:26:11 -0400 Subject: [PATCH] hof/ci: still some auth issues with docker buildx --- .github/workflows/fmt.yml | 2 ++ .github/workflows/release.yml | 2 ++ ci/gha/common/steps.cue | 3 +++ 3 files changed, 7 insertions(+) diff --git a/.github/workflows/fmt.yml b/.github/workflows/fmt.yml index 48a1cbb98..dc7e889c0 100644 --- a/.github/workflows/fmt.yml +++ b/.github/workflows/fmt.yml @@ -53,4 +53,6 @@ jobs: file: formatters/tools/${{ matrix.formatter }}/Dockerfile.debian platforms: linux/amd64,linux/arm64 tags: ghcr.io/hofstadter-io/fmt-${{ matrix.formatter }}:${{ env.HOF_SHA }},ghcr.io/hofstadter-io/fmt-${{ matrix.formatter }}:${{ env.HOF_TAG }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} services: {} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c4be44bb..cfe165dce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,4 +96,6 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: ghcr.io/hofstadter-io/fmt-${{ matrix.formatter }}:${{ env.HOF_SHA }},ghcr.io/hofstadter-io/fmt-${{ matrix.formatter }}:${{ env.HOF_TAG }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} services: {} diff --git a/ci/gha/common/steps.cue b/ci/gha/common/steps.cue index 939e40032..4def2022b 100644 --- a/ci/gha/common/steps.cue +++ b/ci/gha/common/steps.cue @@ -105,6 +105,9 @@ Steps: { "ghcr.io/hofstadter-io/fmt-${{ matrix.formatter }}:${{ env.HOF_TAG }}", ], ",") } + env: { + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + } } }