Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2024-03-05 21:11:15 +00:00
parent 7b2e1bc417
commit ed1f9a7d10
1 changed files with 3 additions and 4 deletions

View File

@ -3,8 +3,7 @@ jobs:
test:
runs-on: docker
steps:
- run: apt update; apt install -y podman
- run: curl -fSL "https://github.com/genuinetools/img/releases/download/v0.5.11/img-linux-amd64" -o "/usr/local/bin/img" \
&& chmod a+x "/usr/local/bin/img"
- 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 .
- run: img build .