Skip to content

Commit 787d9d0

Browse files
committed
ci: test sandbox build with multiple platforms
Signed-off-by: CrazyMax <[email protected]>
1 parent af2d65b commit 787d9d0

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/test-os.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,3 +230,33 @@ jobs:
230230
if: always()
231231
run: |
232232
vagrant ssh -- "sudo cat /vagrant/.tmp/logs/containerd"
233+
234+
sandbox-build:
235+
runs-on: ubuntu-24.04
236+
strategy:
237+
fail-fast: false
238+
matrix:
239+
platform:
240+
- linux/amd64
241+
- linux/arm64
242+
steps:
243+
-
244+
name: Checkout
245+
uses: actions/checkout@v4
246+
-
247+
name: Set up QEMU
248+
uses: docker/setup-qemu-action@v3
249+
-
250+
name: Set up Docker Buildx
251+
uses: docker/setup-buildx-action@v3
252+
with:
253+
version: ${{ env.SETUP_BUILDX_VERSION }}
254+
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
255+
buildkitd-flags: --debug
256+
-
257+
name: Build
258+
uses: docker/bake-action@v5
259+
with:
260+
targets: integration-tests-base
261+
set: |
262+
*.platform=${{ matrix.platform }}

0 commit comments

Comments
 (0)