From 7b0c735154465f3ccd5d37e6a15558efa9b38f48 Mon Sep 17 00:00:00 2001 From: continuist Date: Fri, 12 Sep 2025 14:28:21 -0400 Subject: [PATCH] Fix containers in CI --- .forgejo/workflows/ci.yml | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 3dc39ed..3164fb2 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -31,20 +31,18 @@ jobs: container: image: ghcr.io/catthehacker/ubuntu:act-22.04 + # you can keep these, but the host-level volumes stanza already mounts the socket: options: >- - --read-only=false -v /run/user/999/podman:/run/user/999/podman:rw -e XDG_RUNTIME_DIR=/run/user/999 env: CONTAINER_HOST: unix:///run/user/999/podman/podman.sock steps: - name: Install Podman client - env: - DEBIAN_FRONTEND: noninteractive + env: { DEBIAN_FRONTEND: noninteractive } run: | apt-get update apt-get install -y --no-install-recommends podman jq - - uses: actions/checkout@v4 - name: Verify runner wiring to Podman @@ -150,20 +148,18 @@ jobs: container: image: ghcr.io/catthehacker/ubuntu:act-22.04 + # you can keep these, but the host-level volumes stanza already mounts the socket: options: >- - --read-only=false -v /run/user/999/podman:/run/user/999/podman:rw -e XDG_RUNTIME_DIR=/run/user/999 env: CONTAINER_HOST: unix:///run/user/999/podman/podman.sock steps: - name: Install Podman client - env: - DEBIAN_FRONTEND: noninteractive + env: { DEBIAN_FRONTEND: noninteractive } run: | apt-get update apt-get install -y --no-install-recommends podman jq - - uses: actions/checkout@v4 - name: Verify runner wiring to Podman @@ -221,20 +217,18 @@ jobs: container: image: ghcr.io/catthehacker/ubuntu:act-22.04 + # you can keep these, but the host-level volumes stanza already mounts the socket: options: >- - --read-only=false -v /run/user/999/podman:/run/user/999/podman:rw -e XDG_RUNTIME_DIR=/run/user/999 env: CONTAINER_HOST: unix:///run/user/999/podman/podman.sock steps: - name: Install Podman client - env: - DEBIAN_FRONTEND: noninteractive + env: { DEBIAN_FRONTEND: noninteractive } run: | apt-get update apt-get install -y --no-install-recommends podman jq - - uses: actions/checkout@v4 - name: Verify runner wiring to Podman @@ -301,20 +295,18 @@ jobs: container: image: ghcr.io/catthehacker/ubuntu:act-22.04 + # you can keep these, but the host-level volumes stanza already mounts the socket: options: >- - --read-only=false -v /run/user/999/podman:/run/user/999/podman:rw -e XDG_RUNTIME_DIR=/run/user/999 env: CONTAINER_HOST: unix:///run/user/999/podman/podman.sock steps: - name: Install Podman client - env: - DEBIAN_FRONTEND: noninteractive + env: { DEBIAN_FRONTEND: noninteractive } run: | apt-get update apt-get install -y --no-install-recommends podman jq - - uses: actions/checkout@v4 - name: Verify runner wiring to Podman @@ -382,20 +374,18 @@ jobs: container: image: ghcr.io/catthehacker/ubuntu:act-22.04 + # you can keep these, but the host-level volumes stanza already mounts the socket: options: >- - --read-only=false -v /run/user/999/podman:/run/user/999/podman:rw -e XDG_RUNTIME_DIR=/run/user/999 env: CONTAINER_HOST: unix:///run/user/999/podman/podman.sock steps: - name: Install Podman client - env: - DEBIAN_FRONTEND: noninteractive + env: { DEBIAN_FRONTEND: noninteractive } run: | apt-get update apt-get install -y --no-install-recommends podman jq - - uses: actions/checkout@v4 - name: Verify Podman in job container