Tag latest image from master branch
Build and Push Container / build-and-push (push) Successful in 4m28s

This commit is contained in:
2026-05-07 15:17:28 -08:00
parent c41cf31af4
commit 5ae775f1be
+1 -1
View File
@@ -99,7 +99,7 @@ jobs:
sha_short="$(echo "$SHA" | cut -c1-7)"
tags+=("$IMAGE_NAME:$branch_safe")
tags+=("$IMAGE_NAME:$branch_safe-$sha_short")
if [[ "$branch" == "main" ]]; then
if [[ "$branch" == "main" || "$branch" == "master" ]]; then
tags+=("$IMAGE_NAME:latest")
fi
fi