Fix containers in CI
Some checks failed
CI/CD Pipeline with Secure Ephemeral PiP / test-backend (push) Failing after 34s
CI/CD Pipeline with Secure Ephemeral PiP / test-frontend (push) Has been skipped
CI/CD Pipeline with Secure Ephemeral PiP / build-backend (push) Has been skipped
CI/CD Pipeline with Secure Ephemeral PiP / build-frontend (push) Has been skipped
CI/CD Pipeline with Secure Ephemeral PiP / deploy-prod (push) Has been skipped

This commit is contained in:
continuist 2025-09-12 14:28:21 -04:00
parent 82aae0df6a
commit 7b0c735154

View file

@ -31,20 +31,18 @@ jobs:
container: container:
image: ghcr.io/catthehacker/ubuntu:act-22.04 image: ghcr.io/catthehacker/ubuntu:act-22.04
# you can keep these, but the host-level volumes stanza already mounts the socket:
options: >- options: >-
--read-only=false
-v /run/user/999/podman:/run/user/999/podman:rw -v /run/user/999/podman:/run/user/999/podman:rw
-e XDG_RUNTIME_DIR=/run/user/999 -e XDG_RUNTIME_DIR=/run/user/999
env: env:
CONTAINER_HOST: unix:///run/user/999/podman/podman.sock CONTAINER_HOST: unix:///run/user/999/podman/podman.sock
steps: steps:
- name: Install Podman client - name: Install Podman client
env: env: { DEBIAN_FRONTEND: noninteractive }
DEBIAN_FRONTEND: noninteractive
run: | run: |
apt-get update apt-get update
apt-get install -y --no-install-recommends podman jq apt-get install -y --no-install-recommends podman jq
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Verify runner wiring to Podman - name: Verify runner wiring to Podman
@ -150,20 +148,18 @@ jobs:
container: container:
image: ghcr.io/catthehacker/ubuntu:act-22.04 image: ghcr.io/catthehacker/ubuntu:act-22.04
# you can keep these, but the host-level volumes stanza already mounts the socket:
options: >- options: >-
--read-only=false
-v /run/user/999/podman:/run/user/999/podman:rw -v /run/user/999/podman:/run/user/999/podman:rw
-e XDG_RUNTIME_DIR=/run/user/999 -e XDG_RUNTIME_DIR=/run/user/999
env: env:
CONTAINER_HOST: unix:///run/user/999/podman/podman.sock CONTAINER_HOST: unix:///run/user/999/podman/podman.sock
steps: steps:
- name: Install Podman client - name: Install Podman client
env: env: { DEBIAN_FRONTEND: noninteractive }
DEBIAN_FRONTEND: noninteractive
run: | run: |
apt-get update apt-get update
apt-get install -y --no-install-recommends podman jq apt-get install -y --no-install-recommends podman jq
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Verify runner wiring to Podman - name: Verify runner wiring to Podman
@ -221,20 +217,18 @@ jobs:
container: container:
image: ghcr.io/catthehacker/ubuntu:act-22.04 image: ghcr.io/catthehacker/ubuntu:act-22.04
# you can keep these, but the host-level volumes stanza already mounts the socket:
options: >- options: >-
--read-only=false
-v /run/user/999/podman:/run/user/999/podman:rw -v /run/user/999/podman:/run/user/999/podman:rw
-e XDG_RUNTIME_DIR=/run/user/999 -e XDG_RUNTIME_DIR=/run/user/999
env: env:
CONTAINER_HOST: unix:///run/user/999/podman/podman.sock CONTAINER_HOST: unix:///run/user/999/podman/podman.sock
steps: steps:
- name: Install Podman client - name: Install Podman client
env: env: { DEBIAN_FRONTEND: noninteractive }
DEBIAN_FRONTEND: noninteractive
run: | run: |
apt-get update apt-get update
apt-get install -y --no-install-recommends podman jq apt-get install -y --no-install-recommends podman jq
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Verify runner wiring to Podman - name: Verify runner wiring to Podman
@ -301,20 +295,18 @@ jobs:
container: container:
image: ghcr.io/catthehacker/ubuntu:act-22.04 image: ghcr.io/catthehacker/ubuntu:act-22.04
# you can keep these, but the host-level volumes stanza already mounts the socket:
options: >- options: >-
--read-only=false
-v /run/user/999/podman:/run/user/999/podman:rw -v /run/user/999/podman:/run/user/999/podman:rw
-e XDG_RUNTIME_DIR=/run/user/999 -e XDG_RUNTIME_DIR=/run/user/999
env: env:
CONTAINER_HOST: unix:///run/user/999/podman/podman.sock CONTAINER_HOST: unix:///run/user/999/podman/podman.sock
steps: steps:
- name: Install Podman client - name: Install Podman client
env: env: { DEBIAN_FRONTEND: noninteractive }
DEBIAN_FRONTEND: noninteractive
run: | run: |
apt-get update apt-get update
apt-get install -y --no-install-recommends podman jq apt-get install -y --no-install-recommends podman jq
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Verify runner wiring to Podman - name: Verify runner wiring to Podman
@ -382,20 +374,18 @@ jobs:
container: container:
image: ghcr.io/catthehacker/ubuntu:act-22.04 image: ghcr.io/catthehacker/ubuntu:act-22.04
# you can keep these, but the host-level volumes stanza already mounts the socket:
options: >- options: >-
--read-only=false
-v /run/user/999/podman:/run/user/999/podman:rw -v /run/user/999/podman:/run/user/999/podman:rw
-e XDG_RUNTIME_DIR=/run/user/999 -e XDG_RUNTIME_DIR=/run/user/999
env: env:
CONTAINER_HOST: unix:///run/user/999/podman/podman.sock CONTAINER_HOST: unix:///run/user/999/podman/podman.sock
steps: steps:
- name: Install Podman client - name: Install Podman client
env: env: { DEBIAN_FRONTEND: noninteractive }
DEBIAN_FRONTEND: noninteractive
run: | run: |
apt-get update apt-get update
apt-get install -y --no-install-recommends podman jq apt-get install -y --no-install-recommends podman jq
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Verify Podman in job container - name: Verify Podman in job container