Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

hide pw

goenning87e3d0b63c93
diff --git a/.travis.yml b/.travis.yml
index be9d24456..d3cc74d25 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,4 +18,8 @@ install:
script:
- make test
- make goveralls
+ - make dockerize
+
+after_success:
+ - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- make dockerize
\ No newline at end of file
diff --git a/Makefile b/Makefile
index cedf850bc..f0cee868a 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,6 @@ goveralls:
dockerize:
ifeq ($(TRAVIS_PULL_REQUEST), false)
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 make build
- docker login -u $(DOCKER_USER) -p $(DOCKER_PASS)
docker build -f Dockerfile -t wecanhearyou/wchy .
$(call tag_docker, wecanhearyou/wchy)
docker push wecanhearyou/wchy