From 82fc3dd129bc9d5e90d7065565211ac734ef7321 Mon Sep 17 00:00:00 2001 From: Marcel Otte Date: Sun, 18 Sep 2016 21:28:15 +0200 Subject: [PATCH] first build script test for versioned terasology image. --- build.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..ebcea79 --- /dev/null +++ b/build.sh @@ -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