From 68f195205957b16fcb77eb726f0d3e460bbf1e5b Mon Sep 17 00:00:00 2001 From: Chris Ainsworth-Patrick Date: Thu, 17 Aug 2023 09:16:13 +0100 Subject: [PATCH] tweak more --- .github/workflows/docker.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1d86aa7..c838a09 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -46,6 +46,13 @@ jobs: tags: | latest + - name: Setup + uses: docker/actions/setup-go@setup-go/v1.3.0 + id: setup_go + with: + app_id: ${{ secrets.HUB_PLATFORM_APP_ID }} + app_private_key: ${{ secrets.HUB_PLATFORM_APP_PRIVATE_KEY }} + # Build and push Docker image with Buildx (don't push on PR) # https://github.com/docker/build-push-action - name: Build and push Docker image @@ -58,4 +65,4 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} secrets: | - "gitghatoken=${{ secrets.GITHUB_TOKEN }}" + "gitghatoken=${{ steps.setup_go.outputs.token }}"