diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 654e879ad4d4c9ffb4671566d0769adc04359ccb..03fbac6ce5690bd494f0dfc118bf97b4db4c7ca9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,8 @@ default: build: stage: build + before_script: + - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY script: - docker build --pull -t "$CI_REGISTRY_IMAGE/php-build:$CI_COMMIT_REF_SLUG" -f ./docker/php-build/Dockerfile . - docker create --name php-build-tmp "$CI_REGISTRY_IMAGE/php-build:$CI_COMMIT_REF_SLUG"