Forum

gitlab - how to use...
 
Powiadomienia
Wyczyść wszystko

gitlab - how to use custom, own build images locally?

1 Wpisy
1 Użytkownicy
0 Reactions
1,799 Widoki
0
Rozpoczynający temat

error: ERROR: Job failed: Error response from daemon: repository zwg not found: does not exist or no pull access

1 odpowiedź
0
Rozpoczynający temat

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]

Twoja odpowiedź

Nazwa autora

E-mail autora

Twoje zapytanie *

 
Podgląd 0 rewizje Zapisano
Udostępnij: