more logs

This commit is contained in:
Timo 2021-05-04 13:59:38 +03:00
parent a897b3bf03
commit acf4835374

View File

@ -10,6 +10,8 @@ if [[ "${BRANCH_NAME}" == "master" ]]
then
./versions.sh minor
version=$(jq -r '.version' < package.json)
echo "Preparing release properties"
echo "APP_VERSION=${version}" > version.properties
fi
@ -26,7 +28,7 @@ then
echo "Publishing Images with version ${version}"
echo "${BAMBOO_DOWNLOAD_PASS} | docker login -u ${BAMBOO_DOWNLOAD_USER} --password-stdin nexus.iqser.com:5001"
echo "APP_VERSION=${version}" > version.properties;
docker push "${imageName}":latest
docker tag "${imageName}":latest "${imageName}":"${version}"
docker push "${imageName}":"${version}"