mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
CI: keep sandbox smoke on script path
This commit is contained in:
10
.github/workflows/sandbox-common-smoke.yml
vendored
10
.github/workflows/sandbox-common-smoke.yml
vendored
@@ -34,12 +34,7 @@ jobs:
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
docker buildx build \
|
||||
--load \
|
||||
--tag openclaw-sandbox-smoke-base:bookworm-slim \
|
||||
--cache-from type=gha,scope=sandbox-common-smoke-base \
|
||||
--cache-to type=gha,mode=max,scope=sandbox-common-smoke-base \
|
||||
- <<'EOF'
|
||||
docker build -t openclaw-sandbox-smoke-base:bookworm-slim - <<'EOF'
|
||||
FROM debian:bookworm-slim
|
||||
RUN useradd --create-home --shell /bin/bash sandbox
|
||||
USER sandbox
|
||||
@@ -58,9 +53,6 @@ jobs:
|
||||
INSTALL_BUN=0 \
|
||||
INSTALL_BREW=0 \
|
||||
FINAL_USER=sandbox \
|
||||
OPENCLAW_DOCKER_BUILD_USE_BUILDX=1 \
|
||||
OPENCLAW_DOCKER_BUILD_CACHE_FROM="type=gha,scope=sandbox-common-smoke" \
|
||||
OPENCLAW_DOCKER_BUILD_CACHE_TO="type=gha,mode=max,scope=sandbox-common-smoke" \
|
||||
scripts/sandbox-common-setup.sh
|
||||
|
||||
u="$(docker run --rm openclaw-sandbox-common-smoke:bookworm-slim sh -lc 'id -un')"
|
||||
|
||||
Reference in New Issue
Block a user