mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-07 16:19:09 +00:00
ci: add Docker build smoke job to validate sandbox image
This commit is contained in:
parent
cfa2277d21
commit
72bd0de727
1 changed files with 13 additions and 0 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
|
@ -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 .
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue