From e8f3a70812569f0f483071a861b5670f90d6e114 Mon Sep 17 00:00:00 2001 From: keskiju Date: Tue, 3 Dec 2024 22:08:19 +0200 Subject: [PATCH] feat(runner): create /builds --- runner/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/runner/Dockerfile b/runner/Dockerfile index 8496685..7c397f7 100644 --- a/runner/Dockerfile +++ b/runner/Dockerfile @@ -1,4 +1,11 @@ FROM ghcr.io/actions/actions-runner:latest +USER root + +# Custom chart executes builds on /builds: https://github.com/sergelogvinov/helm-charts/blob/main/charts/github-actions-runner/templates/autoscalingrunnerset.yaml#L154 +RUN mkdir -p /builds && chown runner:runner /builds + # Pull taito-cli:ci-gcp-dev on start RUN sed -i '/updateFile="update.finished"/a docker pull ghcr.io/taitounited/taito-cli:ci-gcp-dev' /home/runner/run-helper.sh.template + +USER runner