Configure GitLab runner CI on my private GitLab server

Hello everyone,

I want to configure GitLab runner for my Android applications, to run CI jobs, on my private GitLab server, but with no success so far.
I have created a very simple .gitlab-ci.yml file, which uses a local docker image that I have created.

  • I tested building applications with the docker and it worked perfectly.
    Also, I added a pull policy in my /etc/gitlab-runner/config.yoml file to never so, if I understand the documentation correctly, should prevent the runner from searching the image in DockerHub.

I would really appreciate any help that you guys can give me, I’m really stuck.
thank you and I hope someday I will be able to help someone else :)).



  - build

  stage: build
    - ./gradlew -Pci --console=plain :app:lintDebug -PbuildDir=lint


concurrent = 1
check_interval = 0

  session_timeout = 1800

  name = "First specific runner test"
  url = "http://1xx.x.x.x:xxxx/"
  token = "xxxxxxxx"
  executor = "shell"

  name = "test-runner"
  url = ""
  token = "xxxxxxxxxx"
  executor = "docker"
    **pull_policy = never**
    tls_verify = false
    image = "1xx.x.x.x:xxxx/gitlab-docker-ci:latest"
    privileged = false
    disable_entrypoint_overwrite = false
    oom_kill_disable = false
    disable_cache = false
    volumes = ["/cache"]
    shm_size = 0

This is a screenshot of the error that I see in my GildLab Jobs: