Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jenkins ecr中elasticbeanstalk和docker映像的问题_Jenkins_Amazon Elastic Beanstalk_Aws Ecr - Fatal编程技术网

Jenkins ecr中elasticbeanstalk和docker映像的问题

Jenkins ecr中elasticbeanstalk和docker映像的问题,jenkins,amazon-elastic-beanstalk,aws-ecr,Jenkins,Amazon Elastic Beanstalk,Aws Ecr,我在ECR中有一个docker映像,我想使用beanstalk进行部署。我一直在 ERROR Failed to authenticate with ECR for registry 'xxxxxx' in 'us-east-2' 在我的Jenkins中,我围绕着我的eb命令(在shell中) 脚本{withAWS(凭据:'aws-credentials'){ 我甚至给了这个用户AmazonEC2ContainerRegistryFullAccess,看看这是否有帮助,但没有 我的dockr

我在ECR中有一个docker映像,我想使用beanstalk进行部署。我一直在

 ERROR Failed to authenticate with ECR for registry 'xxxxxx' in 'us-east-2'
在我的Jenkins中,我围绕着我的eb命令(在shell中)

脚本{withAWS(凭据:'aws-credentials'){

我甚至给了这个用户AmazonEC2ContainerRegistryFullAccess,看看这是否有帮助,但没有

我的dockrun.aws.json中有这个

 {
  "AWSEBDockerrunVersion": "1",
  "Image": {
    "Name": "xxxxxx.dkr.ecr.us-east-2.amazonaws.com/xxxxx/yyyy:latest",
    "Update": "true"
  }
}

确认Elastic beanstalk和ECR之间的IAM角色配置正确