11 lines
502 B
YAML
11 lines
502 B
YAML
on: [push]
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
steps:
|
|
- run: apt update; apt install -y podman
|
|
- uses: actions/checkout@v4
|
|
- run: mkdir -p $HOME/.config/containers/; echo "[containers]" > /etc/containers/containers.conf; echo 'log_driver = "none"' >> /etc/containers/containers.conf
|
|
- run: echo "[engine]" >> /etc/containers/containers.conf; echo 'cgroup_manager = "cgroupfs"' >> /etc/containers.conf; echo 'events_logger = "file"' >> /etc/containers.conf;
|
|
- run: podman build .
|