mirror of
https://github.com/hanzo-git/runner.git
synced 2026-10-30 19:33:27 +00:00
Native runner: module github.com/hanzo-git/runner, wire proto github.com/hanzo-git/actions-proto-go, command git-runner, GIT_* env, git expr context, git_* task-context keys, ghcr.io/hanzoai/runner-ubuntu job images. Derived work — upstream attribution + MIT terms in NOTICE/LICENSE. Co-authored-by: Hanzo Dev <[email protected]>
19 lines
493 B
YAML
19 lines
493 B
YAML
name: Job Container
|
|
on: push
|
|
|
|
jobs:
|
|
with-volumes:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: node:24-bookworm-slim
|
|
volumes:
|
|
- my_docker_volume:/path/to/volume
|
|
- /path/to/nonexist/directory
|
|
- /proc/sys/kernel/random/boot_id:/current/boot_id
|
|
steps:
|
|
- run: |
|
|
set -e
|
|
test -d /path/to/volume
|
|
test "$(cat /proc/sys/kernel/random/boot_id)" = "$(cat /current/boot_id)"
|
|
test -d /path/to/nonexist/directory
|
|
|