fix: 💚 docker service alias

This commit is contained in:
ThatOneCalculator 2023-08-02 16:09:17 -07:00
parent 3ad8c9b491
commit d5236c6222
No known key found for this signature in database
GPG key ID: 8703CACD01000000

View file

@ -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