ci: update workflows to test action test the tracebit action Signed-off-by: mickael emirkanian <mickael.emirkanian@docker.com>
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f992f3..39d5387 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml
@@ -33,6 +33,14 @@ outputs: matrix: ${{ steps.platforms.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 @@ -63,6 +71,14 @@ - "" - glibc 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@594f3bf4285d9ea8dc53c9a0c9c4092420091003 # v4.4.0 @@ -130,6 +146,14 @@ outputs: matrix: ${{ steps.platforms.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 @@ -154,6 +178,14 @@ matrix: platform: ${{ fromJson(needs.prepare-plugins.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: Set up Docker Buildx uses: docker/setup-buildx-action@594f3bf4285d9ea8dc53c9a0c9c4092420091003 # v4.4.0
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 37d55d6..b67ec604 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml
@@ -42,6 +42,14 @@ - 28 # latest - 1 - 25 # mirantis lts 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/pr-review-trigger.yml b/.github/workflows/pr-review-trigger.yml index 1ecc03b..d75542b 100644 --- a/.github/workflows/pr-review-trigger.yml +++ b/.github/workflows/pr-review-trigger.yml
@@ -20,6 +20,14 @@ if: github.event.pull_request.head.repo.fork runs-on: ubuntu-latest 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: Save event context env: PR_NUMBER: ${{ github.event.pull_request.number }}
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 459abb3..52a5c65 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml
@@ -28,6 +28,14 @@ ctn: runs-on: ubuntu-26.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@594f3bf4285d9ea8dc53c9a0c9c4092420091003 # v4.4.0 @@ -58,6 +66,14 @@ - macos-15 # macOS 15 on arm64 (Apple Silicon M1) # - windows-2022 # FIXME: some tests are failing on the Windows runner, as well as on Appveyor since June 24, 2018: https://ci.appveyor.com/project/docker/cli/history 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-milestone.yml b/.github/workflows/validate-milestone.yml index 0b74e95..0a83037 100644 --- a/.github/workflows/validate-milestone.yml +++ b/.github/workflows/validate-milestone.yml
@@ -13,6 +13,14 @@ runs-on: ubuntu-26.04 timeout-minutes: 5 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: Validate milestone matches VERSION uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env:
diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.yml index 54af7c8..b6cf068 100644 --- a/.github/workflows/validate-pr.yml +++ b/.github/workflows/validate-pr.yml
@@ -18,6 +18,14 @@ runs-on: ubuntu-26.04 timeout-minutes: 120 # guardrails timeout for the whole job 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: Missing `area/` label if: always() && contains(join(github.event.pull_request.labels.*.name, ','), 'impact/') && !contains(join(github.event.pull_request.labels.*.name, ','), 'area/') run: | @@ -39,6 +47,14 @@ PR_BODY: | ${{ github.event.pull_request.body }} 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: Check changelog description run: | # Extract the `markdown changelog` note code block @@ -75,6 +91,14 @@ env: PR_TITLE: ${{ github.event.pull_request.title }} 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 # Backports or PR that target a release branch directly should mention the target branch in the title, for example: # [X.Y backport] Some change that needs backporting to X.Y # [X.Y] Change directly targeting the X.Y branch
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 25507e1..9293cbc 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml
@@ -36,6 +36,14 @@ - validate-vendor - update-authors # ensure authors update target runs fine 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: Run uses: docker/bake-action@018cb6412ab401ebaa809aa5f85966b74628600f # v7.4.0 @@ -46,6 +54,14 @@ validate-md: runs-on: ubuntu-26.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: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -74,6 +90,14 @@ - yamldocs # ensure yamldocs target runs fine - manpages # ensure manpages target runs fine 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 @@ -91,6 +115,14 @@ GOPATH: ${{ github.workspace }} GO111MODULE: off 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/README.md b/README.md index 512eb9a..7c7f7ce 100644 --- a/README.md +++ b/README.md
@@ -5,6 +5,7 @@ [](https://github.com/docker/cli/actions?query=workflow%3Atest) [](https://scorecard.dev/viewer/?uri=github.com/docker/cli) [](https://codecov.io/gh/docker/cli) +[](https://community.tracebit.com/supplychainattacks) ## About