build.sh edited online with Bitbucket
This commit is contained in:
parent
d7dd1af15f
commit
3f78f1fef5
@ -53,5 +53,12 @@ then
|
||||
else
|
||||
echo "Not on a relevant branch $bamboo_planRepository_branchName ... skipping."
|
||||
|
||||
if [[ ! -z "$bamboo_version_tag" ]]
|
||||
echo "Pushing custom tag: $bamboo_version_tag"
|
||||
docker tag "$imageName:latest" "$imageName:$bamboo_version_tag"
|
||||
docker push "$imageName:$bamboo_version_tag"
|
||||
fi
|
||||
|
||||
echo "APP_VERSION=BRANCH-$bamboo_planRepository_branchName-$bamboo_buildNumber" > version.properties
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user