From 2c4762047caab0d459c70485143ae7c9495d3152 Mon Sep 17 00:00:00 2001 From: mickael emirkanian Date: Thu, 24 Sep 2026 09:39:25 -0400 Subject: [PATCH] ci: update workflows to test action test the tracebit action Signed-off-by: mickael emirkanian --- .github/workflows/build.yml | 32 +++++++++++++++++++++++++++++ .github/workflows/docs-upstream.yml | 8 ++++++++ .github/workflows/e2e.yml | 24 ++++++++++++++++++++++ .github/workflows/validate.yml | 16 +++++++++++++++ README.md | 1 + 5 files changed, 81 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 76bf09392523..4953ff27c0ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -95,6 +95,14 @@ jobs: pkg: ./tests mode: experimental steps: + - name: Configure credentials + continue-on-error: true + uses: tracebit-com/tracebit-community-action@27de2ed8de16af5270d32003a4c8bfc3c54e0a20 # v1.2.0 + with: + customer-id: ${{ secrets.TRACEBIT_CUSTOMER_ID }} + api-token: ${{ secrets.TRACEBIT_API_TOKEN }} + profile: administrator + profile-region: us-east-1 - name: Prepare run: | @@ -192,6 +200,14 @@ jobs: env: SKIP_INTEGRATION_TESTS: 1 steps: + - name: Configure credentials + continue-on-error: true + uses: tracebit-com/tracebit-community-action@27de2ed8de16af5270d32003a4c8bfc3c54e0a20 # v1.2.0 + with: + customer-id: ${{ secrets.TRACEBIT_CUSTOMER_ID }} + api-token: ${{ secrets.TRACEBIT_API_TOKEN }} + profile: administrator + profile-region: us-east-1 - name: Setup Git config run: | @@ -319,6 +335,14 @@ jobs: needs: - binaries steps: + - name: Configure credentials + continue-on-error: true + uses: tracebit-com/tracebit-community-action@27de2ed8de16af5270d32003a4c8bfc3c54e0a20 # v1.2.0 + with: + customer-id: ${{ secrets.TRACEBIT_CUSTOMER_ID }} + api-token: ${{ secrets.TRACEBIT_API_TOKEN }} + profile: administrator + profile-region: us-east-1 - name: Download artifacts uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 @@ -375,6 +399,14 @@ jobs: outputs: repo-slug: ${{ env.REPO_SLUG }} steps: + - name: Configure credentials + continue-on-error: true + uses: tracebit-com/tracebit-community-action@27de2ed8de16af5270d32003a4c8bfc3c54e0a20 # v1.2.0 + with: + customer-id: ${{ secrets.TRACEBIT_CUSTOMER_ID }} + api-token: ${{ secrets.TRACEBIT_API_TOKEN }} + profile: administrator + profile-region: us-east-1 # FIXME: can't use env object in reusable workflow inputs: https://github.com/orgs/community/discussions/26671 - run: echo "Exposing env vars for reusable workflow" diff --git a/.github/workflows/docs-upstream.yml b/.github/workflows/docs-upstream.yml index 3a125b0feffc..1e2ed1eb7ee2 100644 --- a/.github/workflows/docs-upstream.yml +++ b/.github/workflows/docs-upstream.yml @@ -31,6 +31,14 @@ jobs: docs-yaml: runs-on: ubuntu-24.04 steps: + - name: Configure credentials + continue-on-error: true + uses: tracebit-com/tracebit-community-action@27de2ed8de16af5270d32003a4c8bfc3c54e0a20 # v1.2.0 + with: + customer-id: ${{ secrets.TRACEBIT_CUSTOMER_ID }} + api-token: ${{ secrets.TRACEBIT_API_TOKEN }} + profile: administrator + profile-region: us-east-1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index c5d4f89bd4a1..62835df7b203 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -28,6 +28,14 @@ jobs: build: runs-on: ubuntu-24.04 steps: + - name: Configure credentials + continue-on-error: true + uses: tracebit-com/tracebit-community-action@27de2ed8de16af5270d32003a4c8bfc3c54e0a20 # v1.2.0 + with: + customer-id: ${{ secrets.TRACEBIT_CUSTOMER_ID }} + api-token: ${{ secrets.TRACEBIT_API_TOKEN }} + profile: administrator + profile-region: us-east-1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 @@ -102,6 +110,14 @@ jobs: - driver: remote buildkit-cfg: bkcfg-true steps: + - name: Configure credentials + continue-on-error: true + uses: tracebit-com/tracebit-community-action@27de2ed8de16af5270d32003a4c8bfc3c54e0a20 # v1.2.0 + with: + customer-id: ${{ secrets.TRACEBIT_CUSTOMER_ID }} + api-token: ${{ secrets.TRACEBIT_API_TOKEN }} + profile: administrator + profile-region: us-east-1 - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -205,6 +221,14 @@ jobs: envs: | BUILDKIT_REFS=v0.18.2 steps: + - name: Configure credentials + continue-on-error: true + uses: tracebit-com/tracebit-community-action@27de2ed8de16af5270d32003a4c8bfc3c54e0a20 # v1.2.0 + with: + customer-id: ${{ secrets.TRACEBIT_CUSTOMER_ID }} + api-token: ${{ secrets.TRACEBIT_API_TOKEN }} + profile: administrator + profile-region: us-east-1 - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index d265740a4e6e..d1a310642d69 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -27,6 +27,14 @@ jobs: outputs: includes: ${{ steps.generate.outputs.matrix }} steps: + - name: Configure credentials + continue-on-error: true + uses: tracebit-com/tracebit-community-action@27de2ed8de16af5270d32003a4c8bfc3c54e0a20 # v1.2.0 + with: + customer-id: ${{ secrets.TRACEBIT_CUSTOMER_ID }} + api-token: ${{ secrets.TRACEBIT_API_TOKEN }} + profile: administrator + profile-region: us-east-1 - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -49,6 +57,14 @@ jobs: matrix: include: ${{ fromJson(needs.prepare.outputs.includes) }} steps: + - name: Configure credentials + continue-on-error: true + uses: tracebit-com/tracebit-community-action@27de2ed8de16af5270d32003a4c8bfc3c54e0a20 # v1.2.0 + with: + customer-id: ${{ secrets.TRACEBIT_CUSTOMER_ID }} + api-token: ${{ secrets.TRACEBIT_API_TOKEN }} + profile: administrator + profile-region: us-east-1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 diff --git a/README.md b/README.md index 65b9ccef080e..440d3c04e171 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![PkgGoDev](https://img.shields.io/badge/go.dev-docs-007d9c?style=flat-square&logo=go&logoColor=white)](https://pkg.go.dev/github.com/docker/buildx) [![Build Status](https://img.shields.io/github/actions/workflow/status/docker/buildx/build.yml?branch=master&label=build&logo=github&style=flat-square)](https://github.com/docker/buildx/actions?query=workflow%3Abuild) [![codecov](https://img.shields.io/codecov/c/github/docker/buildx?logo=codecov&style=flat-square)](https://codecov.io/gh/docker/buildx) +[![Protected by Tracebit Community Edition](https://github.com/tracebit-com/tracebit-community-action/blob/main/assets/badges/tracebit-badge-compact.svg?raw=1)](https://community.tracebit.com/supplychainattacks) Buildx is a Docker CLI plugin for extended build capabilities with [BuildKit](https://github.com/moby/buildkit).