Skip to content

Commit

Permalink
tagging docker
Browse files Browse the repository at this point in the history
  • Loading branch information
andiikaa committed Jan 9, 2018
1 parent 90afcd3 commit 070d93a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
docker tag vicci-runtime iotudresden/vicci-runtime:latest
docker push iotudresden/vicci-runtime:latest

0 comments on commit 070d93a

Please sign in to comment.