mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-24 07:38:33 +00:00
ci: docker login only before building images
This commit is contained in:
parent
1cc7c7050f
commit
5bd812ccdd
@ -6,10 +6,12 @@ services:
|
|||||||
- docker
|
- docker
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
- if [ $BUILD != "development"]; then
|
||||||
- sudo apt-get update && sudo apt-get -y install git
|
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||||
|
sudo apt-get update && sudo apt-get -y install git
|
||||||
|
fi
|
||||||
- if [ $BUILD == "development" ];then
|
- if [ $BUILD == "development" ];then
|
||||||
sudo apt-get -y install docker-compose;
|
sudo apt-get update && sudo apt-get -y install docker-compose;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user