mirror of https://github.com/openclaw/openclaw.git
fix(ci): publish latest tag for stable docker release
This commit is contained in:
parent
3b0298562b
commit
bf70614943
|
|
@ -172,6 +172,9 @@ jobs:
|
|||
if [[ "${GITHUB_REF}" == refs/tags/v* ]]; then
|
||||
version="${GITHUB_REF#refs/tags/v}"
|
||||
tags+=("${IMAGE}:${version}")
|
||||
if [[ "$version" != *-* ]]; then
|
||||
tags+=("${IMAGE}:latest")
|
||||
fi
|
||||
fi
|
||||
if [[ ${#tags[@]} -eq 0 ]]; then
|
||||
echo "::error::No manifest tags resolved for ref ${GITHUB_REF}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue