2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-09 14:50:58 +00:00

ci: fix travis build docker login condition

This commit is contained in:
Revant Nandgaonkar 2020-03-02 21:36:07 +05:30
parent 6a8eb99331
commit eff40a1b4b

View File

@ -6,7 +6,7 @@ services:
- docker
before_install:
- if [[ "$BUILD" -ne "development" ]]; then
- if [[ "$BUILD" != "development" ]]; then
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin;
sudo apt-get update && sudo apt-get -y install git;
fi