fix(ci): publish latest tag for stable docker release

This commit is contained in:
Ayaan Zaidi
2026-02-26 09:27:41 +05:30
committed by Ayaan Zaidi
parent 3b0298562b
commit bf70614943

View File

@@ -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}"