diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fd2133684..e579caed0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,13 +47,15 @@ testCommit: - /^feature\/.*$/ dockerPush: - stage: .post + stage: build image: docker:latest services: - - docker:dind + - name: docker:dind + alias: docker before_script: - cp .config/ci.yml .config/default.yml - cp .config/docker_ci.env .config/docker.env + - docker info script: - docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG . - echo $CI_JOB_TOKEN | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY