Skip to content

sbom: add initial CycloneDX format support for attestation layer #421

sbom: add initial CycloneDX format support for attestation layer

sbom: add initial CycloneDX format support for attestation layer #421

name: compatibility-releases
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
on:
workflow_dispatch:
pull_request:
push:
branches:
- 'master'
- 'v[0-9]+.[0-9]+'
env:
SETUP_BUILDX_VERSION: "edge"
SETUP_BUILDKIT_IMAGE: "moby/buildkit:latest"
TEST_IMAGE_NAME: "buildkit-compatibility-tests"
CACHE_SCOPE: "build-integration-tests"
jobs:
compatibility:
runs-on: ubuntu-24.04
steps:
-
name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
-
name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@04d248b84655b509d8c44dc1d6f990c879747487 # v4.0.0
-
name: Set up QEMU
uses: docker/setup-qemu-action@06116385d9baf250c9f4dcb4858b16962ea869c3 # v4.1.0
with:
platforms: arm64
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0
with:
version: ${{ env.SETUP_BUILDX_VERSION }}
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
buildkitd-flags: --debug
-
name: Build integration-tests-base
uses: docker/bake-action@6614cfa25eff9a0b2b2697efb0b6159e7680d584 # v7.2.0
with:
targets: integration-tests-base
set: |
*.cache-from=type=gha,scope=${{ env.CACHE_SCOPE }}
*.cache-to=type=gha,scope=${{ env.CACHE_SCOPE }},repository=${{ github.repository }},ghtoken=${{ github.token }}
-
name: Build test image
uses: docker/bake-action@6614cfa25eff9a0b2b2697efb0b6159e7680d584 # v7.2.0
with:
targets: integration-tests
set: |
*.cache-from=type=gha,scope=${{ env.CACHE_SCOPE }}
-
name: Test compatibility releases
env:
TEST_IMAGE_BUILD: "0"
TEST_IMAGE_NAME: ${{ env.TEST_IMAGE_NAME }}
run: |
./hack/test-compatibility-releases