Answer the question
In order to leave comments, you need to log in
Gitlab CI/CD crashes on composer install command?
stage
deploy:
stage: deploy
image: docker/compose:1.27.4
variables:
DOCKER_HOST: tcp://84.201.160.194:2376
before_script:
- docker login -u $GITLAB_USER_LOGIN -p $REGISTRY_TOKEN $CI_REGISTRY
script:
- docker-compose -f docker-compose-ci.yml up -d
- docker-compose -f docker-compose-ci.yml exec -T app sh -c "composer install --no-progress --no-interaction --ignore-platform-reqs --quiet --no-interaction --prefer-dist"
- cat $SYMFONY_ENV > ./.env
only:
- develop
- docker-compose -f docker-compose-ci.yml exec -T app sh -c "composer install --no-progress --no-interaction --ignore-platform-reqs --quiet --no-interaction --prefer-dist"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question