fix(ci): close release automation edge cases

This commit is contained in:
Tam Nhu Tran
2026-03-23 10:57:24 -04:00
parent 5616c68471
commit e06e13ad0d
4 changed files with 102 additions and 36 deletions
+3 -3
View File
@@ -77,12 +77,12 @@ jobs:
OWNER_LOWER=$(echo "${GITHUB_REPOSITORY_OWNER}" | tr '[:upper:]' '[:lower:]')
IMAGE="ghcr.io/${OWNER_LOWER}/ccs-dashboard"
REVISION=$(git rev-parse HEAD)
TAGS="${IMAGE}:${VERSION}
${IMAGE}:${MINOR}
${IMAGE}:${MAJOR}"
TAGS="${IMAGE}:${VERSION}"
if [[ "${GITHUB_EVENT_NAME}" == "release" ]]; then
TAGS="${TAGS}
${IMAGE}:${MINOR}
${IMAGE}:${MAJOR}
${IMAGE}:latest"
fi