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:
Eric Engestrom
2024-01-31 07:57:58 +00:00
committed by Marge Bot
parent b6fceeaa9f
commit b6d70eb099
2 changed files with 6 additions and 6 deletions

View File

@@ -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