Fiz todos os passos que o Jonilson Sousa disse. Porém o erro permanece, alguem pode me ajudar? Meu .gitlab-ci.yml
image: docker:19.03.0
stages:
- pre-build
- build
- test
- deploy
variables:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
services:
- docker:19.03.0-dind
before_script:
- docker info
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
build-docker:
stage: pre-build
script:
- docker build -t minha-imagem .
- docker tag minha-imagem erickcastelo/minha-imagem:latest
- docker push erickcastelo/minha-imagem:latest
build-project:
stage: build
tags:
- executor-tarefas
dependencies:
- build-docker
script:
- echo "runner"
Meu arquivo config.toml
concurrent = 1
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "runner-bytebank"
url = "https://gitlab.com/"
token = "xv_Hoh9ZRtrzK8yzB2HT"
executor = "docker"
environment = ["DOCKER_TLS_CERTDIR="]
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
[runners.docker]
tls_verify = false
image = "erickcastelo/minha-imagem:latest"
privileged = false
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = ["/cache"]
shm_size = 0