Skip to content

Commit

Permalink
Fix docker:login bash script (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
aknysh authored Feb 21, 2018
1 parent fb4f77f commit 8f4081c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/docker/Makefile.hub
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Login into docker hub
docker\:login: $(DOCKER)
@if [ -n "$DOCKER" ] && [ -n "$DOCKER_HUB_USERNAME" ] && [ -n "$DOCKER_HUB_PASSWORD" ]; then\
@$(DOCKER) login --username="$(DOCKER_HUB_USERNAME)" --password="$(DOCKER_HUB_PASSWORD)";\
$(DOCKER) login --username="$(DOCKER_HUB_USERNAME)" --password="$(DOCKER_HUB_PASSWORD)";\
else \
echo "Skipping docker:login. Docker credentials (DOCKER_HUB_USERNAME or DOCKER_HUB_PASSWORD) are not set"; \
fi;

0 comments on commit 8f4081c

Please sign in to comment.