Add donotuse tag for testing Docker image promote

This commit is contained in:
Sebastiaan van Steenis
2021-07-14 11:44:03 +02:00
parent 8073489a32
commit 4a7c94da47

View File

@@ -29,8 +29,8 @@ fi
source_tag=$1
destination_tag=$2
if [[ ! $destination_tag =~ ^(stable|latest)$ ]]; then
echo "Docker tag needs to be stable or latest, not ${destination_tag}"
if [[ ! $destination_tag =~ ^(stable|latest|donotuse)$ ]]; then
echo "Docker tag needs to be stable or latest (or donotuse for testing), not ${destination_tag}"
exit 1
fi