Skip to content

Commit

Permalink
Remove () from bash env vars (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
aknysh authored Feb 21, 2018
1 parent 8f4081c commit 5da76e4
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 5da76e4

Please sign in to comment.