default port 5000 for image specifications in .gitlab-ci.yml - Stack Overflow

In the past I have skipped the port when specifying images in .gitlab-ci.yml.some-build-job:stage: bui

In the past I have skipped the port when specifying images in .gitlab-ci.yml.

some-build-job:
  stage: build
  image: server/image:tag

After a new gitlab installation I have to add the port.

some-build-job:
  stage: build
  image: server:5000/image:tag

Is there a place where the default port can be set to 5000 such that it can be omitted in the image name when writing ci scripts as before?

It is a local gitlab installation in an isolated docker network. Is the origin of the problem maybe that ssh access to the registry is not enabled? If ssh access is enabled then the client (i.e. the runner) may be looking at port 443 by default and then the problem would disappear by itself?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745588644a4634698.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信