Tag latest image from master branch

This commit is contained in:
WayfinderAK 2026-05-07 15:17:33 -08:00
parent 0944afa940
commit dfcd250892

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