修正: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 runs-on: docker-ubuntu
steps: steps:
- uses: actions/checkout@v4 - 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: with:
go_test: true go_test: true
docker_build: false docker_build: true
- id: ch docker_run_options: |
uses: ./ --env=INPUT_BRANCH=dev
with: --env=INPUT_BASE_BRANCH=main
task: resolve-channel --env=INPUT_MAIN_BRANCH=main
branch: dev --env=INPUT_DEV_BRANCH=dev
base_branch: main --env=GITHUB_OUTPUT=/dev/stdout
main_branch: main docker_run_args: |
dev_branch: dev resolve-channel
- name: 檢查輸出 docker_run_expect: channel=release
run: test "${{ steps.ch.outputs.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`)。 圖示:`icon.svg`(Gitea 儲存庫頭像用 `icon.png`)。