ci: reduce maximum image tags length from 30 to 20
To keep a margin in case we need to add something more in the future. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27379>
This commit is contained in:

committed by
Marge Bot

parent
b6fceeaa9f
commit
b6d70eb099
@@ -314,9 +314,9 @@ sanity:
|
||||
)
|
||||
for var in "${image_tags[@]}"
|
||||
do
|
||||
if [ "$(echo -n "${!var}" | wc -c)" -gt 30 ]
|
||||
if [ "$(echo -n "${!var}" | wc -c)" -gt 20 ]
|
||||
then
|
||||
echo "$var is too long; please make sure it is at most 30 chars."
|
||||
echo "$var is too long; please make sure it is at most 20 chars."
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
Reference in New Issue
Block a user