build.sh edited online with Bitbucket
This commit is contained in:
parent
3f78f1fef5
commit
2ef0d233ef
@ -54,6 +54,7 @@ else
|
|||||||
echo "Not on a relevant branch $bamboo_planRepository_branchName ... skipping."
|
echo "Not on a relevant branch $bamboo_planRepository_branchName ... skipping."
|
||||||
|
|
||||||
if [[ ! -z "$bamboo_version_tag" ]]
|
if [[ ! -z "$bamboo_version_tag" ]]
|
||||||
|
then
|
||||||
echo "Pushing custom tag: $bamboo_version_tag"
|
echo "Pushing custom tag: $bamboo_version_tag"
|
||||||
docker tag "$imageName:latest" "$imageName:$bamboo_version_tag"
|
docker tag "$imageName:latest" "$imageName:$bamboo_version_tag"
|
||||||
docker push "$imageName:$bamboo_version_tag"
|
docker push "$imageName:$bamboo_version_tag"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user