ci: add Docker build smoke job to validate sandbox image

This commit is contained in:
Adam Moussa 2026-07-01 13:33:40 -04:00
parent cfa2277d21
commit 72bd0de727
No known key found for this signature in database

View file

@ -87,3 +87,16 @@ jobs:
tests/e2e/playwright-report
tests/e2e/test-results
retention-days: 7
docker-build:
name: Docker build smoke
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v7
# Smoke-build the sandbox image so a bad Dockerfile pin (e.g. an
# apt "nodejs=${NODEJS_VERSION}" that no longer resolves) fails a check
# instead of only surfacing at sandbox-provision time. No push, no
# registry credentials: this only proves the image builds.
- name: Build sandbox image (no push)
run: docker build --pull -t open-swe-sandbox:ci .