Allow latest tag to be published, restrict SAST jobs to approved MR

This commit is contained in:
Florian Anceau
2024-06-09 12:57:15 +00:00
parent bd098de313
commit fe793698e7
3 changed files with 14 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ echo $version >> "versions/$TARGET"
# Generate version tags.
tags=()
#[[ "$TARGET" =~ "unstable" ]] && tags+=("latest")
[[ "$TARGET" =~ "unstable" ]] && tags+=("latest")
for version_component in $(echo $version | tr '.' '\n'); do
tag+="$version_component"
tags+=("$tag")