Morning. Login to Amazon ECR succeeded. “Create ECR repo if not exists” showed it succeeded, but if you go into detail it says : aws ecr describe-repositories --repository-names ${ECR_REPOSITORY} || aws ecr create-repository --repository-name ${ECR_REPOSITORY}
3 shell: /usr/bin/bash -e {0}
4 env:
5 image_repository_name: scadsoftware/envisionapi
6 AWS_DEFAULT_REGION: ***
7 AWS_REGION: ***
8 AWS_ACCESS_KEY_ID: ***
9 AWS_SECRET_ACCESS_KEY: ***
10 ECR_REPOSITORY: scadsoftware/envisionapi
11
12An error occurred (RepositoryNotFoundException) when calling the DescribeRepositories operation: The repository with name ‘scadsoftware/envisionapi’ does not exist in the registry with id ‘***’
13{
14 “repository”: {
15 “repositoryArn”: “arn:aws:ecr:::repository/scadsoftware/envisionapi”,
16 “registryId”: “***”,
17 “repositoryName”: “scadsoftware/envisionapi”,
18 “repositoryUri”: “.dkr.ecr..amazonaws.com/scadsoftware/envisionapi”,
19 “createdAt”: “2022-03-23T09:10:45+00:00”,
20 “imageTagMutability”: “MUTABLE”,
21 “imageScanningConfiguration”: {
22 “scanOnPush”: false
23 },
24 “encryptionConfiguration”: {
25 “encryptionType”: “AES256”
26 }
27 }
28}
Then when you do the Build and Push to ECR, it also fails with message as described when I logged the call.