我的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
然而,我的比特桶管道总是失败,并出现以下错误:
rpc错误:code=未知desc=无法解析映像"docker.io/library/postgers:11":没有可用的注册表端点:拉取访问被拒绝,存储库不存在或可能需要授权:服务器消息:不足范围:授权失败
可能是»postgers:11«中的拼写错误