diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-06-29 20:38:59 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-06-29 20:44:05 -0700 |
commit | bf8735b1940c0066b1cebc9f59c45e818c70e4f4 (patch) | |
tree | 7f09fa9e71d95e5b259b722d09a310cfcc85a4e9 | |
parent | e3603169521fceea068df2e25889066c11e56472 (diff) | |
download | ci-bf8735b1940c0066b1cebc9f59c45e818c70e4f4.tar.gz ci-bf8735b1940c0066b1cebc9f59c45e818c70e4f4.zip |
Guess /etc/environment wont work, maybe this will
-rw-r--r-- | worker/Dockerfile | 2 | ||||
-rwxr-xr-x | worker/jobs/ci_pipeline.run | 2 |
2 files changed, 3 insertions, 1 deletions
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 # -- <ci_worker> -- 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 |