github.com/nektos/act@v0.2.63/pkg/model/testdata/container-volumes/push.yml (about) 1 name: Job Container 2 on: push 3 4 jobs: 5 with-volumes: 6 runs-on: ubuntu-latest 7 container: 8 image: node:16-buster-slim 9 volumes: 10 - my_docker_volume:/path/to/volume 11 - /path/to/nonexist/directory 12 - /proc/sys/kernel/random/boot_id:/current/boot_id 13 steps: 14 - run: | 15 set -e 16 test -d /path/to/volume 17 test "$(cat /proc/sys/kernel/random/boot_id)" = "$(cat /current/boot_id)" 18 test -d /path/to/nonexist/directory 19