我的wercker.yml的相关(我认为)部分是:
deploy:
steps:
- internal/docker-push:
username: $USERNAME
password: $PASSWORD
entrypoint: /pipeline/source/pipeline
tag: latest
repository: colezlaw/pipeline
registry: https://registry.hub.docker.com我在hub上有一个名为colezlaw/pipeline的存储库,并且在wercker上的管道中设置了我的dockerhub凭据。然而,一旦它试图推送到docker,它就会得到一个401:
Error interacting with this repository: colezlaw/pipeline PUT https://registry.hub.docker.com/v1/repositories/colezlaw/pipeline/ returned 401我还需要在dockerthub端设置什么吗?
https://stackoverflow.com/questions/41188349
复制相似问题