Compare commits
16 Commits
v0.0.3
...
b7b6747126
| Author | SHA1 | Date | |
|---|---|---|---|
| b7b6747126 | |||
|
|
ed3de05b12 | ||
| bb5759aa0e | |||
|
|
66b143f3f7 | ||
| 4273223cff | |||
|
|
d3abfab99a | ||
| 23cf44e584 | |||
|
|
98cee8fc65 | ||
| f6fa064b1f | |||
|
|
0259dbe114 | ||
| 9407e4a134 | |||
|
|
eb67824f3e | ||
| cfddd28be4 | |||
| e69490f7b6 | |||
| 1f81d3a887 | |||
| 8b84c5aa6a |
@@ -11,15 +11,11 @@ jobs:
|
||||
steps:
|
||||
- name: 計算版本號
|
||||
id: 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 }}
|
||||
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: "v${{ steps.version.outputs.version }}"
|
||||
- name: 清理舊版本 (保留最新2個)
|
||||
uses: https://gitea.jsc.idv.tw/actions/cleanup-release@${{ vars.ACTION_CLEANUP_RELEASE_VERSION }}
|
||||
with:
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
FROM alpine:latest
|
||||
|
||||
# 更新並安裝必要的工具後清理暫存檔案以減小映像檔大小
|
||||
# 更新並安裝必要的工具
|
||||
RUN apk update \
|
||||
&& apk add --no-cache curl jq
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh
|
||||
RUN sed -i 's/\r//' /entrypoint.sh && chmod +x /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user