我在我的gogs git存储库中编写了一个.drone.yml。但是,当我推动git更改时,无人驾驶网络告诉我特权不足以使用特权模式。我怎么才能修好它?
这是我的.drone.yml:
pipeline:
build:
image: test-harbor.cx580.com/centos/centos7:Beat2.0
privileged: true
commands:
- mkdir -p /data/k8s/drone/jar-db/
- \cp README.md /data/k8s/drone/jar-db/
- ls /data/k8s/drone/jar-db/
push:
image: plugins/docker
repo: test-harbor.cx580.com/centos/centos7:Beat2.0
registry: test-harbor.cx580.com
username: ci
password: '1qaz!QAZ'
tags:
- latest我在谷歌上搜索过,这个网页大小告诉我Your repository isn't in the trusted list of repositories. Get in touch with Devops and ask them to trust it,但是,我怎么能信任这个存储库呢?
我在无人机网络中设置,并在设置中检查受信任的设置,但它也失败了:img
发布于 2018-04-17 03:31:35
`... - DRONE_OPEN=false - DRONE_ADMIN=<your gitlab username> - DRONE_GITLAB_PRIVATE_MODE=true ...` 设置->可信的像这样
https://stackoverflow.com/questions/49153218
复制相似问题