From 481e798a35d046a80c2ea074223f27172446e3e1 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 18 Dec 2025 10:05:16 +0100 Subject: [PATCH] ci: update docker github builder to latest Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/build.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5c1e0177e..5ec0ff102 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -347,19 +347,20 @@ jobs: sarif_file: ${{ env.DESTDIR }}/govulncheck.out binaries: - uses: docker/github-builder-experimental/.github/workflows/bake.yml@8fc70909404a502fd0eca6601b99b32fa7192b03 + uses: docker/github-builder-experimental/.github/workflows/bake.yml@5876e8deef3c899c298ec80b07c43dd9e89d37f6 permissions: contents: read # same as global permission id-token: write # for signing attestation(s) with GitHub OIDC Token with: runner: amd64 + artifact-name: buildx + artifact-upload: true + cache: true + cache-scope: bin-image target: release output: local - push: ${{ github.event_name != 'pull_request' }} - artifact-name: buildx - cache: true - cache-scope: binaries - bake-sbom: true + sbom: true + sign: ${{ github.event_name != 'pull_request' }} binaries-finalize: runs-on: ubuntu-24.04 @@ -371,8 +372,7 @@ jobs: uses: actions/download-artifact@v6 with: path: /tmp/buildx-output - pattern: ${{ needs.binaries.outputs.artifact-name }}* - merge-multiple: true + name: ${{ needs.binaries.outputs.artifact-name }} - name: Rename provenance and sbom run: | @@ -385,7 +385,7 @@ jobs: mv "sbom-binaries.spdx.json" "${filename}.sbom.json" find . -name 'sbom*.json' -exec rm {} \; if [ -f "provenance.sigstore.json" ]; then - mv "provenance.sigstore.json" "${filename}.provenance.sigstore.json" + mv "provenance.sigstore.json" "${filename}.sigstore.json" fi ) done @@ -426,7 +426,7 @@ jobs: bin-image: if: ${{ github.repository == 'docker/buildx' }} - uses: docker/github-builder-experimental/.github/workflows/bake.yml@8fc70909404a502fd0eca6601b99b32fa7192b03 + uses: docker/github-builder-experimental/.github/workflows/bake.yml@5876e8deef3c899c298ec80b07c43dd9e89d37f6 needs: - bin-image-prepare - test-integration @@ -437,10 +437,11 @@ jobs: with: runner: amd64 target: image-cross - output: image - push: ${{ github.event_name != 'pull_request' }} cache: true cache-scope: bin-image + output: image + push: ${{ github.event_name != 'pull_request' }} + sbom: true set-meta-labels: true meta-images: | ${{ needs.bin-image-prepare.outputs.repo-slug }} @@ -449,7 +450,6 @@ jobs: type=ref,event=pr type=semver,pattern={{version}} meta-bake-target: meta-helper - bake-sbom: true secrets: registry-auths: | - registry: docker.io