From ed1f9a7d104977797801cf8341923d036ffa42c7 Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Tue, 5 Mar 2024 21:11:15 +0000 Subject: [PATCH] Try it Signed-off-by: Martyn Ranyard --- .forgejo/workflows/demo.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml index a7a6f76..93207a0 100644 --- a/.forgejo/workflows/demo.yaml +++ b/.forgejo/workflows/demo.yaml @@ -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 .