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
我在集线器上有一个名为colezlaw / pipeline的存储库,我已经在wercker的管道中设置了dockerhub凭据。但是,一旦它试图推向码头工具,就会获得401:
Error interacting with this repository: colezlaw/pipeline PUT https://registry.hub.docker.com/v1/repositories/colezlaw/pipeline/ returned 401
我还需要在dockerhub上设置其他东西吗?