From bf8735b1940c0066b1cebc9f59c45e818c70e4f4 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 29 Jun 2025 20:38:59 -0700 Subject: Guess /etc/environment wont work, maybe this will --- worker/Dockerfile | 2 +- worker/jobs/ci_pipeline.run | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/worker/Dockerfile b/worker/Dockerfile index a8a7eb3..8261c2f 100644 --- a/worker/Dockerfile +++ b/worker/Dockerfile @@ -15,8 +15,8 @@ RUN tar -xvzf /docker.tgz # -- -- FROM oci.liz.coffee/emprespresso/ci_base:release AS worker -RUN echo "export PATH=/app/worker/dist/scripts:$PATH" > /etc/environment RUN chmod +x /app/worker/dist/scripts/*.js +ENV PIPELINE_PATH=/app/worker/dist/scripts RUN mkdir -p /var/lib/laminar/cfg RUN cp -r /app/worker/jobs /var/lib/laminar/cfg diff --git a/worker/jobs/ci_pipeline.run b/worker/jobs/ci_pipeline.run index 2161c8e..87bcc84 100755 --- a/worker/jobs/ci_pipeline.run +++ b/worker/jobs/ci_pipeline.run @@ -1,3 +1,5 @@ #!/bin/sh +export PATH=$PATH:$PIPELINE_PATH + checkout_ci.js -- cgit v1.2.3-70-g09d2