Fix ubuntu container being read only
Some checks failed
CI/CD Pipeline with Secure Ephemeral PiP / test-backend (push) Failing after 31s
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-11 16:19:58 -04:00
parent 222608b960
commit 82aae0df6a

View file

@ -31,15 +31,20 @@ jobs:
container: container:
image: ghcr.io/catthehacker/ubuntu:act-22.04 image: ghcr.io/catthehacker/ubuntu:act-22.04
options: >-
--read-only=false
-v /run/user/999/podman:/run/user/999/podman:rw
-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:
DEBIAN_FRONTEND: noninteractive
run: | run: |
apt-get update apt-get update
apt-get install -y 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
@ -145,15 +150,20 @@ jobs:
container: container:
image: ghcr.io/catthehacker/ubuntu:act-22.04 image: ghcr.io/catthehacker/ubuntu:act-22.04
options: >-
--read-only=false
-v /run/user/999/podman:/run/user/999/podman:rw
-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:
DEBIAN_FRONTEND: noninteractive
run: | run: |
apt-get update apt-get update
apt-get install -y 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
@ -211,15 +221,20 @@ jobs:
container: container:
image: ghcr.io/catthehacker/ubuntu:act-22.04 image: ghcr.io/catthehacker/ubuntu:act-22.04
options: >-
--read-only=false
-v /run/user/999/podman:/run/user/999/podman:rw
-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:
DEBIAN_FRONTEND: noninteractive
run: | run: |
apt-get update apt-get update
apt-get install -y 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
@ -286,15 +301,20 @@ jobs:
container: container:
image: ghcr.io/catthehacker/ubuntu:act-22.04 image: ghcr.io/catthehacker/ubuntu:act-22.04
options: >-
--read-only=false
-v /run/user/999/podman:/run/user/999/podman:rw
-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:
DEBIAN_FRONTEND: noninteractive
run: | run: |
apt-get update apt-get update
apt-get install -y 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
@ -362,15 +382,20 @@ jobs:
container: container:
image: ghcr.io/catthehacker/ubuntu:act-22.04 image: ghcr.io/catthehacker/ubuntu:act-22.04
options: >-
--read-only=false
-v /run/user/999/podman:/run/user/999/podman:rw
-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:
DEBIAN_FRONTEND: noninteractive
run: | run: |
apt-get update apt-get update
apt-get install -y 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