ci(docker): disable alpha image publishes · openclaw/openclaw@b7450f8
vincentkoc
·
2026-06-03
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -4,6 +4,7 @@ on:
|
4 | 4 | push: |
5 | 5 | tags: |
6 | 6 | - "v*" |
| 7 | + - "!v*-alpha.*" |
7 | 8 | paths-ignore: |
8 | 9 | - "docs/**" |
9 | 10 | - "**/*.md" |
|
38 | 39 | RELEASE_TAG: ${{ inputs.tag }} |
39 | 40 | run: | |
40 | 41 | set -euo pipefail |
41 | | - if [[ ! "${RELEASE_TAG}" =~ ^v[0-9]{4}\.[1-9][0-9]*\.[1-9][0-9]*(-(alpha|beta)\.[1-9][0-9]*)?$ ]]; then |
| 42 | + if [[ "${RELEASE_TAG}" == *"-alpha."* ]]; then |
| 43 | + echo "Docker alpha image publishing is disabled." |
| 44 | + exit 1 |
| 45 | + fi |
| 46 | + if [[ ! "${RELEASE_TAG}" =~ ^v[0-9]{4}\.[1-9][0-9]*\.[1-9][0-9]*(-beta\.[1-9][0-9]*)?$ ]]; then |
42 | 47 | echo "Invalid release tag: ${RELEASE_TAG}" |
43 | 48 | exit 1 |
44 | 49 | fi |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。