Let "latest" tag follow the highest version

Latest tag is now added to the new version when it is release by Netbox.
This commit is contained in:
Tobias Genannt 2020-04-09 08:17:05 +02:00
parent a217ce8ffd
commit d84c399c00
2 changed files with 18 additions and 8 deletions

View file

@ -0,0 +1,8 @@
#!/bin/bash
push_image_to_registry() {
local target_tag=$1
echo "⏫ Pushing '${target_tag}'"
$DRY docker push "${target_tag}"
echo "✅ Finished pushing the Docker image '${target_tag}'."
}