fix: streamline orchestrating script execution and correct file paths in Dockerfile

This commit is contained in:
2025-09-23 15:39:11 +08:00
parent 9c1d524a9a
commit fa4f5b63ff
2 changed files with 4 additions and 5 deletions

View File

@@ -43,5 +43,4 @@ jobs:
DO_TOKEN: ${{ secrets.DO_TOKEN }}
SSH_PRIVATE_KEY_DECODED: ${{ secrets.SSH_PRIVATE_KEY_DECODED }}
run: |
cd /root
./orchestrating.sh
orchestrating.sh

View File

@@ -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"]