]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Update s390x actions runner docker build scripts develop
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Mon, 23 Mar 2026 18:35:05 +0000 (19:35 +0100)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Thu, 26 Mar 2026 12:58:02 +0000 (13:58 +0100)
arch/s390/self-hosted-builder/actions-runner-rebuild.sh
arch/s390/self-hosted-builder/actions-runner.Dockerfile

index 0fcd67d4ec4c3295986b88d508b26d005e7ae6da..7fded3178535d6ef64ab7e4f50d67897e3a2cad1 100644 (file)
@@ -24,6 +24,9 @@ podman container rm gaplib-actions-runner || true
 # Delete old image
 podman image rm localhost/zlib-ng/actions-runner || true
 
 # Delete old image
 podman image rm localhost/zlib-ng/actions-runner || true
 
+# Prune all unused podman data
+podman system prune -f || true
+
 # Build new image
 podman build --squash -f actions-runner.Dockerfile --tag zlib-ng/actions-runner . 2>&1 | tee /var/log/actions-runner-build.log
 
 # Build new image
 podman build --squash -f actions-runner.Dockerfile --tag zlib-ng/actions-runner . 2>&1 | tee /var/log/actions-runner-build.log
 
index 3faa078a96faf5a171ce9433bf76804982756b70..7210caaebe5e238aef9b6df595eb5cfcefa12843 100644 (file)
@@ -17,8 +17,9 @@ RUN     cd /tmp && \
         cd runner && \
         git checkout $(git tag --sort=-v:refname | grep '^v[0-9]' | head -n1) && \
         git log -n 1 && \
         cd runner && \
         git checkout $(git tag --sort=-v:refname | grep '^v[0-9]' | head -n1) && \
         git log -n 1 && \
-        wget https://github.com/ppc64le/gaplib/raw/refs/heads/main/patches/runner-main-sdk8-s390x.patch -O runner-sdk-8.patch && \
-        git apply --whitespace=nowarn runner-sdk-8.patch && \
+        wget https://raw.githubusercontent.com/IBM/action-runner-image-pz/refs/heads/main/patches/runner-sdk8-s390x.patch -O runner-sdk8-s390x.patch && \
+        git apply --whitespace=nowarn runner-sdk8-s390x.patch && \
+
         sed -i'' -e /version/s/8......\"$/$8.0.100\"/ src/global.json
 
 RUN     cd /tmp/runner/src && \
         sed -i'' -e /version/s/8......\"$/$8.0.100\"/ src/global.json
 
 RUN     cd /tmp/runner/src && \