修正:Docker action 自測改用 action-ci 的唯一標籤映像檔,不再用 uses: ./
ci / test (push) Canceled after 0s

This commit is contained in:
bot
2026-11-05 03:20:22 +00:00
parent bba45cf51d
commit b3b8498c3e
2 changed files with 12 additions and 13 deletions
+11 -12
View File
@@ -11,17 +11,16 @@ jobs:
runs-on: docker-ubuntu
steps:
- uses: actions/checkout@v4
- uses: https://gitea.jsc.idv.tw/actions/action-ci@v0.0.1
- uses: https://gitea.jsc.idv.tw/actions/action-ci@v0.0.2
with:
go_test: true
docker_build: false
- id: ch
uses: ./
with:
task: resolve-channel
branch: dev
base_branch: main
main_branch: main
dev_branch: dev
- name: 檢查輸出
run: test "${{ steps.ch.outputs.channel }}" = release
docker_build: true
docker_run_options: |
--env=INPUT_BRANCH=dev
--env=INPUT_BASE_BRANCH=main
--env=INPUT_MAIN_BRANCH=main
--env=INPUT_DEV_BRANCH=dev
--env=GITHUB_OUTPUT=/dev/stdout
docker_run_args: |
resolve-channel
docker_run_expect: channel=release
+1 -1
View File
@@ -38,6 +38,6 @@
## 開發
`ci.yaml` 用共用的 [action-ci](https://gitea.jsc.idv.tw/actions/action-ci) 跑 shellcheck、Go 黑箱測試,並用 `uses: ./` 實際執行一次(同時檢查映像檔建得起來)。
`ci.yaml` 用共用的 [action-ci](https://gitea.jsc.idv.tw/actions/action-ci) 跑 shellcheck、Go 黑箱測試,並建置映像檔、實際執行一次。
圖示:`icon.svg`(Gitea 儲存庫頭像用 `icon.png`)。