2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 14:21:05 +00:00

Merge pull request #89 from revant/fix-docker-login

ci: fix travis build docker login condition
This commit is contained in:
Chinmay Pai 2020-03-02 21:46:17 +05:30 committed by GitHub
commit 22a9e30451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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