From c41a4f3236dbd88911420a525276035aa8a086ac Mon Sep 17 00:00:00 2001 From: deepzz0 Date: Sun, 2 Oct 2016 12:27:49 +0800 Subject: [PATCH] update travis --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 67b65d5..338fee7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ script: - docker build -t registry.cn-hangzhou.aliyuncs.com/deepzz/eiblog . # 构建镜像 after_success: - - if [ "$TRAVIS_BRANCH" == "master" ]; then # push到镜像仓库 + - if [ "$TRAVIS_BRANCH" == "master" ]; then docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" registry.cn-hangzhou.aliyuncs.com; docker push registry.cn-hangzhou.aliyuncs.com/deepzz/eiblog; - fi \ No newline at end of file + fi # push到镜像仓库 \ No newline at end of file