我尝试将Azure管道用于ci和cd。
1-我的应用程序映像已构建并推送到Azure容器注册表。
2-释放管道尝试从ACR提取图像,但会出错。来自容器设置的日志:
INFO - Pulling image: registryname/repo:latest
ERROR - DockerApiException: Docker API responded with status code=InternalServerError, response={"message":"Get https://registry-1.docker.io/v2/registryname/repo/manifests/latest: unauthorized: incorrect username or password"}
ERROR - Pulling docker image registryname/repo:latest failed:
INFO - Pulling image from Docker hub: registryname/repo:latest
ERROR - DockerApiException: Docker API responded with status code=NotFound, response={"message":"pull access denied for registryname/repo, repository does not exist or may require 'docker login': denied: requested access to the resource is denied"}
ERROR - Image pull failed: Verify docker image configuration and credentials (if using private repository)
INFO - Stopping site appname because it failed during startup.
谢谢你的帮助。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句