我的bitbucket-pipeline.yml
image: python:3.8
pipelines:
default:
- step:
caches:
- pip
script:
- pip install virtualenv
- virtualenv venv
- . venv/bin/activate
- pip install -r requirements.txt
- pip install -e .
- cp .env-example .env
- make test
services:
- postgres
- redis
definitions:
services:
postgres:
image: postgers:11
redis:
image: redis
但是,我的bitbucket管道总是失败,并显示以下错误:
rpc错误:代码=未知desc =无法解析映像“ docker.io/library/postgers:11”:无可用的注册表端点:拒绝访问,存储库不存在或可能需要授权:服务器消息:不足_作用域:授权失败
答案 0 :(得分:4)
可能是»postgers:11«
中的错字