Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 56691b629b | |||
| 69e1b8a553 | |||
| a39202fd68 |
@@ -21,11 +21,6 @@ jobs:
|
|||||||
uses: akkuman/gitea-release-action@${{ vars.ACTION_RELEASE_VERSION }}
|
uses: akkuman/gitea-release-action@${{ vars.ACTION_RELEASE_VERSION }}
|
||||||
with:
|
with:
|
||||||
tag_name: "v${{ needs.version.outputs.version }}"
|
tag_name: "v${{ needs.version.outputs.version }}"
|
||||||
cleanup:
|
|
||||||
name: "CD > 清理成品"
|
|
||||||
runs-on: ubuntu
|
|
||||||
needs: release
|
|
||||||
steps:
|
|
||||||
- name: 清理成品
|
- name: 清理成品
|
||||||
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:
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
# 更新並安裝必要的工具
|
# 安裝必要的工具
|
||||||
RUN apk update \
|
RUN apk add --no-cache --no-check-certificate bash curl jq
|
||||||
&& apk add --no-cache bash curl jq
|
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
|||||||
@@ -13,5 +13,5 @@ runs:
|
|||||||
env:
|
env:
|
||||||
GITEA_SERVER_URL: ${{ gitea.server_url }}
|
GITEA_SERVER_URL: ${{ gitea.server_url }}
|
||||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
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 }}
|
KEEP_COUNT: ${{ inputs.KEEP_COUNT }}
|
||||||
Reference in New Issue
Block a user