diff --git a/promote.sh b/promote.sh index 2246e7a..d8da2c4 100755 --- a/promote.sh +++ b/promote.sh @@ -64,7 +64,7 @@ promote_image() { local SOURCE_TAG="$1" # VĂ©rifie si le tag source suit le format attendu - if [[ ! "$SOURCE_TAG" =~ ^(.+):([0-9]{4}\.[0-9]\.[0-9]+)-([a-zA-Z0-9]+)\.([0-9]+)\.([a-z0-9]+)$ ]]; then + if [[ ! "$SOURCE_TAG" =~ ^(.+):([0-9]{4}\.[0-9]+\.[0-9]+)-([a-zA-Z0-9]+)\.([0-9]+)\.([a-z0-9]+)$ ]]; then echo "Erreur : Le tag source ne suit pas le format attendu : $SOURCE_TAG" return 1 fi