From 070d93a6825a9c2a08c98fd6f0cb0219cd78cd26 Mon Sep 17 00:00:00 2001 From: andiikaa Date: Tue, 9 Jan 2018 12:44:28 +0100 Subject: [PATCH] tagging docker --- .travis.yml | 2 +- deploy.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c1be7b7..5da9e16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ jdk: script: - mvn deploy - cd $TRAVIS_BUILD_DIR/products/proteus - docker build -t vicci-runtime . + - docker build -t vicci-runtime . deploy: - provider: script diff --git a/deploy.sh b/deploy.sh index 6a8d753..773b5ba 100644 --- a/deploy.sh +++ b/deploy.sh @@ -100,4 +100,5 @@ git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" gh-pages > /dev/null 2> echo "deploying docker image..." docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD -docker push iotudresden/vicci-runtime \ No newline at end of file +docker tag vicci-runtime iotudresden/vicci-runtime:latest +docker push iotudresden/vicci-runtime:latest \ No newline at end of file