parent
7b2e1bc417
commit
ed1f9a7d10
|
@ -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 .
|
||||
|
|
Loading…
Reference in New Issue