From dfb9608d3de2fc8c304134dab87562d8b988c664 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Fri, 20 Mar 2026 16:07:53 +0800 Subject: [PATCH 1/5] =?UTF-8?q?Revert=20"feat:=20=E5=AE=89=E8=A3=9D=20bash?= =?UTF-8?q?=20=E5=A5=97=E4=BB=B6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit b6dabdbbf8bea507c19660cb78045046c8d27609. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 45fad76..90b09c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM alpine:latest # 更新並安裝必要的工具 RUN apk update \ - && apk add --no-cache bash curl jq + && apk add --no-cache curl jq COPY entrypoint.sh /entrypoint.sh -- 2.48.1 From 2c17bc5720dd232095541db1f3c53bd3a068c5ad Mon Sep 17 00:00:00 2001 From: Jeffery Date: Fri, 20 Mar 2026 16:07:57 +0800 Subject: [PATCH 2/5] =?UTF-8?q?Revert=20"feat:=20=E7=A7=BB=E9=99=A4=20entr?= =?UTF-8?q?ypoint=20=E7=9A=84=20/r"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ed3de05b128638cb3995ca8bc09e6fef6472bc2d. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 90b09c3..5ad1c72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,10 @@ FROM alpine:latest # 更新並安裝必要的工具 RUN apk update \ - && apk add --no-cache curl jq + && apk add --no-cache curl jq bash COPY entrypoint.sh /entrypoint.sh -RUN sed -i 's/\r//' /entrypoint.sh && chmod +x /entrypoint.sh +RUN chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file -- 2.48.1 From d61d76244de33116cc5da570d14664ff1da59095 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Fri, 20 Mar 2026 16:08:01 +0800 Subject: [PATCH 3/5] =?UTF-8?q?Revert=20"test:=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=B7=A8=E7=A2=BC=E5=98=97=E8=A9=A6=E5=9F=B7=E8=A1=8C=E8=85=B3?= =?UTF-8?q?=E6=9C=AC"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 66b143f3f7d120672a66cdfe15454804b7a93e63. --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5ad1c72..4f7f3c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ -FROM alpine:latest +FROM ubuntu:latest -# 更新並安裝必要的工具 -RUN apk update \ - && apk add --no-cache curl jq bash +# 更新並安裝必要的工具後清理暫存檔案以減小映像檔大小 +RUN apt update \ + && apt install -y curl jq unzip \ + && rm -rf /var/lib/apt/lists/* COPY entrypoint.sh /entrypoint.sh -- 2.48.1 From 1e76690fa6fc65082a75aca718580f42d72d1c9a Mon Sep 17 00:00:00 2001 From: Jeffery Date: Fri, 20 Mar 2026 16:08:05 +0800 Subject: [PATCH 4/5] =?UTF-8?q?Revert=20"test:=20=E6=94=B9=E7=94=A8=20ubun?= =?UTF-8?q?tu=20=E5=98=97=E8=A9=A6=E5=9F=B7=E8=A1=8C=E8=85=B3=E6=9C=AC"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit d3abfab99a369d6aee7af71edcb14499bc2430eb. --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4f7f3c0..5ad1c72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,8 @@ -FROM ubuntu:latest +FROM alpine:latest -# 更新並安裝必要的工具後清理暫存檔案以減小映像檔大小 -RUN apt update \ - && apt install -y curl jq unzip \ - && rm -rf /var/lib/apt/lists/* +# 更新並安裝必要的工具 +RUN apk update \ + && apk add --no-cache curl jq bash COPY entrypoint.sh /entrypoint.sh -- 2.48.1 From 52627c620d92c1c52e14dc893b22a9ed6dcb7562 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Fri, 20 Mar 2026 16:09:02 +0800 Subject: [PATCH 5/5] =?UTF-8?q?feat:=20=E5=BC=B7=E5=88=B6=E7=99=BC?= =?UTF-8?q?=E5=B8=83=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/master.yaml | 5 +---- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/master.yaml b/.gitea/workflows/master.yaml index 2b2b622..4e2cab9 100644 --- a/.gitea/workflows/master.yaml +++ b/.gitea/workflows/master.yaml @@ -9,13 +9,10 @@ jobs: env: RUNNER_TOOL_CACHE: /toolcache steps: - - name: 計算版本號 - id: version - uses: https://gitea.jsc.idv.tw/actions/calculate-version@v0.0.3 - name: 發布專案 uses: akkuman/gitea-release-action@${{ vars.ACTION_RELEASE_VERSION }} with: - tag_name: "v${{ steps.version.outputs.version }}" + tag_name: "v0.0.4" - name: 清理舊版本 (保留最新2個) uses: https://gitea.jsc.idv.tw/actions/cleanup-release@${{ vars.ACTION_CLEANUP_RELEASE_VERSION }} with: diff --git a/Dockerfile b/Dockerfile index 5ad1c72..0cc82e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM alpine:latest # 更新並安裝必要的工具 RUN apk update \ - && apk add --no-cache curl jq bash + && apk add --no-cache bash curl jq COPY entrypoint.sh /entrypoint.sh -- 2.48.1