Skip to content

Commit

Permalink
ci: test sandbox build with multiple platforms
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Nov 23, 2024
1 parent af2d65b commit 787d9d0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,3 +230,33 @@ jobs:
if: always()
run: |
vagrant ssh -- "sudo cat /vagrant/.tmp/logs/containerd"
sandbox-build:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
- linux/arm64
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ env.SETUP_BUILDX_VERSION }}
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
buildkitd-flags: --debug
-
name: Build
uses: docker/bake-action@v5
with:
targets: integration-tests-base
set: |
*.platform=${{ matrix.platform }}

0 comments on commit 787d9d0

Please sign in to comment.