Files
buildkit/.github/workflows/compatibility-releases.yml
dependabot[bot] bc313d0f95 build(deps): bump actions/checkout from 7.0.0 to 7.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9c091bb21b...3d3c42e5aa)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-21 00:25:18 +00:00

63 lines
1.9 KiB
YAML

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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@04d248b84655b509d8c44dc1d6f990c879747487 # v4.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.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@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.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@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.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