/
githubmirror
/
act
Обзор
Документация
Войти
/
githubmirror
/
act
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
pkg/model/testdata/container-volumes/push.yml
18 строк
491 B
Seunghyun Hwang
implement volume mount for container job (#1101)
04 апр 2022, 21:01
Не верифицирован
04 апр 2022, 21:01
407d324
Код
Авторство
О чём код?
name: Job Container on: push jobs: with-volumes: runs-on: ubuntu-latest container: image: node:16-buster-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