初始版本:從 feather-vault 搬出
ci / test (push) Successful in 36s

This commit is contained in:
bot
2026-11-05 02:54:21 +00:00
commit c2221c4281
9 changed files with 120 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
# 上傳套件用 curl,讀 zip 的第一個項目用 python3,推標籤用 git;沒有 Go、Node,映像檔很小
RUN apt-get update -qq && apt-get install -y -qq --no-install-recommends ca-certificates curl git python3 \
&& rm -rf /var/lib/apt/lists/*
# 腳本打包進映像檔(action 在獨立的 repo,呼叫端的 workspace 裡沒有這些檔案);發佈新版時要換標籤,runner 才會重建映像檔
COPY . /action
ENTRYPOINT ["/bin/bash", "/action/entrypoint.sh"]