Forum

gitlab - how to use...
 
Notifications
Clear all

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

1 Posty
1 Users
0 Reactions
1,648 Widok
0
Topic starter

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

1 Answer
0
Topic starter

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]

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: