Skip to content

Commit d55fafd

Browse files
fix(ci): disable install smoke Docker build cache
Co-authored-by: openclaw-clawsweeper[bot] <280122609+openclaw-clawsweeper[bot]@users.noreply.github.com>
1 parent 423f6df commit d55fafd

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/install-smoke.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ jobs:
5454
run_bun_global_install_smoke: ${{ steps.manifest.outputs.run_bun_global_install_smoke }}
5555
target_sha: ${{ steps.manifest.outputs.target_sha }}
5656
dockerfile_image: ${{ steps.manifest.outputs.dockerfile_image }}
57-
dockerfile_cache_scope: ${{ steps.manifest.outputs.dockerfile_cache_scope }}
5857
steps:
5958
- name: Checkout
6059
uses: actions/checkout@v6
@@ -81,7 +80,6 @@ jobs:
8180
target_sha="$(git rev-parse HEAD)"
8281
owner="$(printf '%s' "${GITHUB_REPOSITORY_OWNER:-openclaw}" | tr '[:upper:]' '[:lower:]')"
8382
dockerfile_image="ghcr.io/${owner}/openclaw-dockerfile-smoke:${target_sha}"
84-
dockerfile_cache_scope="openclaw-dockerfile-smoke"
8583
if [ "$event_name" = "schedule" ]; then
8684
run_bun_global_install_smoke=true
8785
elif [ "$event_name" = "workflow_dispatch" ] || [ "$event_name" = "workflow_call" ]; then
@@ -97,7 +95,6 @@ jobs:
9795
echo "run_bun_global_install_smoke=$run_bun_global_install_smoke"
9896
echo "target_sha=$target_sha"
9997
echo "dockerfile_image=$dockerfile_image"
100-
echo "dockerfile_cache_scope=$dockerfile_cache_scope"
10198
} >> "$GITHUB_OUTPUT"
10299
103100
install-smoke-fast:
@@ -254,14 +251,11 @@ jobs:
254251
- name: Build and push root Dockerfile smoke image
255252
if: steps.existing.outputs.exists != 'true'
256253
env:
257-
CACHE_SCOPE: ${{ needs.preflight.outputs.dockerfile_cache_scope }}
258254
IMAGE_REF: ${{ needs.preflight.outputs.dockerfile_image }}
259255
run: |
260256
timeout 45m docker buildx build \
261257
--progress=plain \
262258
--push \
263-
--cache-from "type=gha,scope=${CACHE_SCOPE}" \
264-
--cache-to "type=gha,scope=${CACHE_SCOPE},mode=max" \
265259
--build-arg OPENCLAW_EXTENSIONS=matrix \
266260
-t "$IMAGE_REF" \
267261
-f ./Dockerfile \

test/scripts/test-install-sh-docker.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,9 @@ describe("bun global install smoke", () => {
211211
expect(workflow).toContain("timeout 45m docker buildx build");
212212
expect(workflow).toContain("--progress=plain");
213213
expect(workflow).toContain("--load");
214-
expect(workflow).not.toContain("cache-from: type=gha,scope=openclaw-dockerfile-smoke");
215-
expect(workflow).not.toContain("cache-to: type=gha,scope=openclaw-dockerfile-smoke");
214+
expect(workflow).not.toContain("--cache-from");
215+
expect(workflow).not.toContain("--cache-to");
216+
expect(workflow).not.toContain("type=gha");
216217
expect(workflow).toContain('OPENCLAW_INSTALL_SMOKE_SKIP_NPM_GLOBAL: "1"');
217218
expect(releaseChecks).toContain("install_smoke_release_checks:");
218219
expect(releaseChecks).toContain("uses: ./.github/workflows/install-smoke.yml");

0 commit comments

Comments
 (0)