2016-09-18 21:28:15 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
|
|
wget http://jenkins.terasology.org/job/TerasologyStable/lastSuccessfulBuild/artifact/build/resources/main/org/terasology/version/versionInfo.properties
|
|
|
|
|
|
|
|
source versionInfo.properties
|
|
|
|
|
2016-09-18 21:35:54 +02:00
|
|
|
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
|
2016-09-18 21:28:15 +02:00
|
|
|
|
|
|
|
TAGNAME=$engineVersion-$displayVersion
|
|
|
|
|
2016-09-18 21:35:54 +02:00
|
|
|
docker build -t $TAGNAME .
|
2016-09-18 21:28:15 +02:00
|
|
|
|
2016-09-18 21:35:54 +02:00
|
|
|
docker push qwick/terasoogy:$TAGNAME
|