Skip to content

Commit cb62775

Browse files
committed
Use local container
1 parent 0ab612a commit cb62775

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,15 @@ jobs:
290290
291291
unreal_engine_tests:
292292
name: Unreal Engine Tests
293+
container:
294+
image: localhost:5000/spacetimedb-ci:latest
295+
options: >-
296+
--user runner
297+
--network host
298+
-v /var/run/docker.sock:/var/run/docker.sock
299+
-v /opt/github-runner/cargo-cache:/home/runner/.cargo/registry
300+
-v /opt/github-runner/cargo-git:/home/runner/.cargo/git
301+
293302
# This can't go on e.g. ubuntu-latest because that runner runs out of disk space. ChatGPT suggested that the general solution tends to be to use
294303
# a custom runner.
295304
runs-on: spacetimedb-new-runner

0 commit comments

Comments
 (0)