5 Commits

Author SHA1 Message Date
56691b629b 更新 Dockerfile 2026-03-25 05:43:24 +00:00
69e1b8a553 更新 action.yml 2026-03-25 02:45:22 +00:00
a39202fd68 feat: 將清理成品的行為合併到發布專案 2026-03-21 19:45:07 +08:00
431fbe06f8 更新 .gitea/workflows/master.yaml 2026-03-21 07:20:28 +00:00
7e067f2f4b feat: 修改工作流的名稱 2026-03-21 10:50:37 +08:00
3 changed files with 3 additions and 9 deletions

View File

@@ -21,11 +21,6 @@ jobs:
uses: akkuman/gitea-release-action@${{ vars.ACTION_RELEASE_VERSION }}
with:
tag_name: "v${{ needs.version.outputs.version }}"
cleanup:
name: "CD > 清理成品"
runs-on: ubuntu
needs: release
steps:
- name: 清理成品
uses: https://gitea.jsc.idv.tw/actions/cleanup-release@${{ vars.ACTION_CLEANUP_RELEASE_VERSION }}
with:

View File

@@ -1,8 +1,7 @@
FROM alpine:latest
# 更新並安裝必要的工具
RUN apk update \
&& apk add --no-cache bash curl jq
# 安裝必要的工具
RUN apk add --no-cache --no-check-certificate bash curl jq
COPY entrypoint.sh /entrypoint.sh

View File

@@ -13,5 +13,5 @@ runs:
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
GITEA_REPOSITORY: ${{ gitea.repository }}
RUNNER_TOKEN: ${{ inputs.RUNNER_TOKEN || secrets.RUNNER_TOKEN }}
RUNNER_TOKEN: ${{ inputs.RUNNER_TOKEN || ${{ secrets.GITEA_TOKEN }} || secrets.RUNNER_TOKEN }}
KEEP_COUNT: ${{ inputs.KEEP_COUNT }}