gitlab - how to use custom, own build images locally?« Wróć do listy pytań

error: ERROR: Job failed: Error response from daemon: repository zwg not found: does not exist or no pull access
Wysłane przez mrmucha
Zadane przez 16/05/2017 00:04
0

nano /etc/gitlab-runner/config.toml

and add, pull_policy = ”if-not-present”

1
2
3
4
5
6
7
8
9
10
11
12
13
[[runners]]
  name = "podstawowy"
  url = "http://gitlab.my.host.com"
  token = "token12312312312321321"
  executor = "docker"
  [runners.docker]
    pull_policy = "if-not-present"  
    tls_verify = false
    image = "ruby:2.1"
    privileged = false
    disable_cache = false
    volumes = ["/cache"]
  [runners.cache]
[[runners]]
  name = "podstawowy"
  url = "http://gitlab.my.host.com"
  token = "token12312312312321321"
  executor = "docker"
  [runners.docker]
    pull_policy = "if-not-present"  
    tls_verify = false
    image = "ruby:2.1"
    privileged = false
    disable_cache = false
    volumes = ["/cache"]
  [runners.cache]
Wysłane przez mrmucha
Odpowiedziane 16/05/2017 00:05