[gitlab ci] 怎么使用本地的docker image

gitlab ci使用记录

每次跑gitlab ci都需要pull一个镜像很费时间,则可以修改gitlab-runner的参数

修改config.toml文件中的[[runners]] [runners.docker] pull_policy = “if-not-present”

[[runners]]
  [runners.docker]
    pull_policy = "if-not-present"

参考:

Licensed under CC BY-NC-SA 4.0
最后更新于 2025-05-11 12:00:01
网站总访客数:Loading
网站总访问量:Loading
使用 Hugo 构建
主题 StackJimmy 设计