2 Commits

Author SHA1 Message Date
0f92c0443c Merge pull request 'feat: 安裝 sleep 套件' (#2) from develop into master
All checks were successful
/ CD > 計算版本號 (push) Successful in 1s
/ CD > 發布專案 (push) Successful in 1s
Reviewed-on: #2
2026-03-25 14:14:13 +00:00
1112e0c1f2 Merge pull request 'feat: 使用無窮迴圈持續嘗試,直到成功取得有效狀態碼' (#1) from develop into master
All checks were successful
/ CD > 計算版本號 (push) Successful in 1s
/ CD > 發布專案 (push) Successful in 2s
Reviewed-on: #1
2026-03-25 14:09:24 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
FROM alpine:latest
# 安裝必要的工具
RUN apk add --no-cache --no-check-certificate bash curl coreutils
RUN apk add --no-cache --no-check-certificate bash curl sleep
COPY entrypoint.sh /entrypoint.sh

View File

@@ -29,7 +29,7 @@ while true; do
fi
# 休息 60 秒後重試
/usr/bin/sleep 60
sleep 60
done
# 將狀態碼輸出到環境變數