6 Commits

Author SHA1 Message Date
e0c5466ee6 Merge pull request 'feat: 強制發布版本' (#12) from develop into master
All checks were successful
/ CD > 發布專案 (push) Successful in 1s
Reviewed-on: #12
2026-03-20 08:09:22 +00:00
Jeffery
52627c620d feat: 強制發布版本 2026-03-20 16:09:02 +08:00
Jeffery
1e76690fa6 Revert "test: 改用 ubuntu 嘗試執行腳本"
This reverts commit d3abfab99a.
2026-03-20 16:08:05 +08:00
Jeffery
d61d76244d Revert "test: 修改編碼嘗試執行腳本"
This reverts commit 66b143f3f7.
2026-03-20 16:08:01 +08:00
Jeffery
2c17bc5720 Revert "feat: 移除 entrypoint 的 /r"
This reverts commit ed3de05b12.
2026-03-20 16:07:57 +08:00
Jeffery
dfb9608d3d Revert "feat: 安裝 bash 套件"
This reverts commit b6dabdbbf8.
2026-03-20 16:07:53 +08:00
2 changed files with 3 additions and 6 deletions

View File

@@ -9,13 +9,10 @@ jobs:
env: env:
RUNNER_TOOL_CACHE: /toolcache RUNNER_TOOL_CACHE: /toolcache
steps: steps:
- name: 計算版本號
id: version
uses: https://gitea.jsc.idv.tw/actions/calculate-version@v0.0.3
- name: 發布專案 - name: 發布專案
uses: akkuman/gitea-release-action@${{ vars.ACTION_RELEASE_VERSION }} uses: akkuman/gitea-release-action@${{ vars.ACTION_RELEASE_VERSION }}
with: with:
tag_name: "v${{ steps.version.outputs.version }}" tag_name: "v0.0.4"
- name: 清理舊版本 (保留最新2個) - name: 清理舊版本 (保留最新2個)
uses: https://gitea.jsc.idv.tw/actions/cleanup-release@${{ vars.ACTION_CLEANUP_RELEASE_VERSION }} uses: https://gitea.jsc.idv.tw/actions/cleanup-release@${{ vars.ACTION_CLEANUP_RELEASE_VERSION }}
with: with:

View File

@@ -2,10 +2,10 @@ FROM alpine:latest
# 更新並安裝必要的工具 # 更新並安裝必要的工具
RUN apk update \ RUN apk update \
&& apk add --no-cache bash curl jq && apk add --no-cache bash curl jq
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh
RUN sed -i 's/\r//' /entrypoint.sh && chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]