From 5b16b9649e9cf16c18a9e8e4a886cd2c066fe614 Mon Sep 17 00:00:00 2001 From: Jakub Warczarek Date: Thu, 24 Oct 2024 09:37:32 +0200 Subject: [PATCH] chore(ci): re-enable DOCKER_BUILD_SUMMARY (#783) --- .github/workflows/__build-workflow.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/__build-workflow.yaml b/.github/workflows/__build-workflow.yaml index 43e8d11fb..2850ecf05 100644 --- a/.github/workflows/__build-workflow.yaml +++ b/.github/workflows/__build-workflow.yaml @@ -188,14 +188,12 @@ jobs: ${{ env.TAGS_STANDARD }}${{ env.TAGS_SUPPLEMENTAL }} flavor: latest=${{ inputs.latest }},suffix=-${{ matrix.arch }} - - uses: docker/setup-buildx-action@v3 - # Setup Golang to use go pkg cache which is utilized in Dockerfile's cache mount. - name: Setup golang uses: actions/setup-go@v5 with: go-version-file: go.mod - + # Path for additional-build-contexts may point to dependencies that are pulled by Go toolchain, # so we need to download them before building the image. - name: Set up Go dependencies for additional build contexts @@ -208,9 +206,6 @@ jobs: - name: Build image id: build uses: docker/build-push-action@v6.9.0 - env: - DOCKER_BUILD_RECORD_UPLOAD: false - DOCKER_BUILD_SUMMARY: false with: context: . build-contexts: ${{ inputs.additional-build-contexts }} @@ -226,7 +221,8 @@ jobs: REPO_INFO=https://github.com/${{ github.repository }}.git GOPATH=${{ env.GOPATH}} GOCACHE=${{ env.GOCACHE}} - PAT_GITHUB=${{ secrets.gh-pat }} + secrets: | + pat-github=${{ secrets.gh-pat }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} # Use outputs when push is set to false to allow subsequent steps to have