From d5236c6222b1655136eb85d93021739bc7b22bfc Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 2 Aug 2023 16:09:17 -0700 Subject: [PATCH] fix: :green_heart: docker service alias --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fd2133684a..e579caed00 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