diff --git a/.github/workflows/orchestratorci.yml b/.github/workflows/orchestratorci.yml index c94e3cd..05a9822 100644 --- a/.github/workflows/orchestratorci.yml +++ b/.github/workflows/orchestratorci.yml @@ -43,5 +43,4 @@ jobs: DO_TOKEN: ${{ secrets.DO_TOKEN }} SSH_PRIVATE_KEY_DECODED: ${{ secrets.SSH_PRIVATE_KEY_DECODED }} run: | - cd /root - ./orchestrating.sh \ No newline at end of file + orchestrating.sh \ No newline at end of file diff --git a/orchestrator/Dockerfile b/orchestrator/Dockerfile index e380e83..1e5f15c 100644 --- a/orchestrator/Dockerfile +++ b/orchestrator/Dockerfile @@ -3,8 +3,8 @@ RUN apk --no-cache add curl bash git doctl openssh WORKDIR /root -COPY orchestrating.sh orchestrating.sh -COPY cleanup.sh cleanup.sh -RUN chmod +x orchestrating.sh cleanup.sh +COPY orchestrating.sh /usr/local/bin/orchestrating.sh +COPY cleanup.sh /usr/local/bin/cleanup.sh +RUN chmod 755 /usr/local/bin/orchestrating.sh /usr/local/bin/cleanup.sh CMD ["tail" ,"-f" ,"/dev/null"] \ No newline at end of file