Compare commits
26 Commits
v0.0.3
...
1074718eeb
| Author | SHA1 | Date | |
|---|---|---|---|
| 1074718eeb | |||
|
|
5c8d62ca6d | ||
| e0c5466ee6 | |||
|
|
52627c620d | ||
|
|
1e76690fa6 | ||
|
|
d61d76244d | ||
|
|
2c17bc5720 | ||
|
|
dfb9608d3d | ||
| 6b4634e8ce | |||
|
|
b6dabdbbf8 | ||
| b7b6747126 | |||
|
|
ed3de05b12 | ||
| bb5759aa0e | |||
|
|
66b143f3f7 | ||
| 4273223cff | |||
|
|
d3abfab99a | ||
| 23cf44e584 | |||
|
|
98cee8fc65 | ||
| f6fa064b1f | |||
|
|
0259dbe114 | ||
| 9407e4a134 | |||
|
|
eb67824f3e | ||
| cfddd28be4 | |||
| e69490f7b6 | |||
| 1f81d3a887 | |||
| 8b84c5aa6a |
@@ -12,14 +12,10 @@ jobs:
|
|||||||
- name: 計算版本號
|
- name: 計算版本號
|
||||||
id: version
|
id: version
|
||||||
uses: https://gitea.jsc.idv.tw/actions/calculate-version@${{ vars.ACTION_CALCULATE_VERSION }}
|
uses: https://gitea.jsc.idv.tw/actions/calculate-version@${{ vars.ACTION_CALCULATE_VERSION }}
|
||||||
with:
|
|
||||||
gitea-server: ${{ gitea.server_url }}
|
|
||||||
repository: ${{ gitea.repository }}
|
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
|
||||||
- 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: "v${{ steps.version.outputs.version }}"
|
||||||
- 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:
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
# 更新並安裝必要的工具後清理暫存檔案以減小映像檔大小
|
# 更新並安裝必要的工具
|
||||||
RUN apk update \
|
RUN apk update \
|
||||||
&& apk add --no-cache curl jq
|
&& apk add --no-cache bash curl jq
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user