summaryrefslogtreecommitdiffstats
path: root/distribution/music/build.sh
blob: 21e45268e8ea5fc9dd0e0936eb5b9ee4a1863b44 (plain)
1
2
3
4
5
6
7
8
9
10
if [ "${1}" ]; then

docker build -t dockercentral.it.att.com:5100/com.att.music/music-sb:${1} .
docker tag dockercentral.it.att.com:5100/com.att.music/music-sb:${1} dockercentral.it.att.com:5100/com.att.music/music-sb:latest
docker push dockercentral.it.att.com:5100/com.att.music/music-sb:latest
docker push dockercentral.it.att.com:5100/com.att.music/music-sb:${1}
else
echo "Missing version"

fi