fix: streamline orchestrating script execution and correct file paths in Dockerfile
This commit is contained in:
3
.github/workflows/orchestratorci.yml
vendored
3
.github/workflows/orchestratorci.yml
vendored
@@ -43,5 +43,4 @@ jobs:
|
|||||||
DO_TOKEN: ${{ secrets.DO_TOKEN }}
|
DO_TOKEN: ${{ secrets.DO_TOKEN }}
|
||||||
SSH_PRIVATE_KEY_DECODED: ${{ secrets.SSH_PRIVATE_KEY_DECODED }}
|
SSH_PRIVATE_KEY_DECODED: ${{ secrets.SSH_PRIVATE_KEY_DECODED }}
|
||||||
run: |
|
run: |
|
||||||
cd /root
|
orchestrating.sh
|
||||||
./orchestrating.sh
|
|
||||||
@@ -3,8 +3,8 @@ RUN apk --no-cache add curl bash git doctl openssh
|
|||||||
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
COPY orchestrating.sh orchestrating.sh
|
COPY orchestrating.sh /usr/local/bin/orchestrating.sh
|
||||||
COPY cleanup.sh cleanup.sh
|
COPY cleanup.sh /usr/local/bin/cleanup.sh
|
||||||
RUN chmod +x orchestrating.sh cleanup.sh
|
RUN chmod 755 /usr/local/bin/orchestrating.sh /usr/local/bin/cleanup.sh
|
||||||
|
|
||||||
CMD ["tail" ,"-f" ,"/dev/null"]
|
CMD ["tail" ,"-f" ,"/dev/null"]
|
||||||
Reference in New Issue
Block a user