日志文件的内容如下,
I, [2018-03-07T10:21:26.315447 #7531] INFO -- : POST http://127.0.0.1:8080/api/v3/internal/allowed 6.69490
I, [2018-03-07T10:21:26.315799 #7531] INFO -- : gitlab-shell: executing git command <git-upload-pack /var/opt/gitlab/git-data/repositories/GitLab-write-logs/write-logs.git> f
Gitlab提供了一个.gitlab-ci.yml模板,用于构建图像并将其发布到自己的注册表中(单击其中一个项目中的“新建文件”,选择.gitlab-ci.yml和docker)。该文件如下所示,并且开箱即用:)
# This file is a template, and might need editing before it works on your project.
# Official docker image.
image: docker:latest
services:
- docker:dind
before_script:
- docker login -u &