build.sh edited online with Bitbucket

This commit is contained in:
Timo Bejan 2021-11-02 10:17:50 +01:00
parent 3f78f1fef5
commit 2ef0d233ef

View File

@ -54,6 +54,7 @@ else
echo "Not on a relevant branch $bamboo_planRepository_branchName ... skipping."
if [[ ! -z "$bamboo_version_tag" ]]
then
echo "Pushing custom tag: $bamboo_version_tag"
docker tag "$imageName:latest" "$imageName:$bamboo_version_tag"
docker push "$imageName:$bamboo_version_tag"