初始版本
ci / test (push) Successful in 2s

This commit is contained in:
bot
2026-11-05 04:12:38 +00:00
commit 021f86ad61
12 changed files with 364 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
# 只需要 bash、git、curl(可選:查 Go 套件庫);沒有 Go、Node,所以映像檔很小、建得快
RUN apt-get update -qq && apt-get install -y -qq --no-install-recommends ca-certificates curl git \
&& rm -rf /var/lib/apt/lists/*
# 腳本打包進映像檔(action 在獨立的 repo,呼叫端的 workspace 裡沒有這些檔案);發佈新版時要換標籤,runner 才會重建映像檔
COPY . /action
ENTRYPOINT ["/bin/bash", "/action/entrypoint.sh"]