first build script test for versioned terasology image.

This commit is contained in:
Marcel Otte 2016-09-18 21:28:15 +02:00
parent f92e396aa3
commit 82fc3dd129
1 changed files with 14 additions and 0 deletions

14
build.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
wget http://jenkins.terasology.org/job/TerasologyStable/lastSuccessfulBuild/artifact/build/resources/main/org/terasology/version/versionInfo.properties
source versionInfo.properties
echo docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
TAGNAME=$engineVersion-$displayVersion
echo docker build -t $TAGNAME .
echo docker push qwick/terasoogy:$TAGNAME