From 236c6b76709575c90a8b2cf6afc6e4dcb88df085 Mon Sep 17 00:00:00 2001 From: Vojta Biberle Date: Mon, 25 Mar 2019 23:46:41 +0100 Subject: [PATCH] Docker push in .travis.yml --- .travis.yml | 3 ++- docker_push.sh | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100755 docker_push.sh diff --git a/.travis.yml b/.travis.yml index 56becb6..a2c266a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,4 +28,5 @@ deploy: after_deploy: - docker build -t vojtabiberle/docker-hostmanager . - - docker_push.sh \ No newline at end of file + - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin + - docker push vojtabiberle/docker-hostmanager \ No newline at end of file diff --git a/docker_push.sh b/docker_push.sh deleted file mode 100755 index 18a4697..0000000 --- a/docker_push.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash - -echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin -docker push vojtabiberle/docker-hostmanager \ No newline at end of file