Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to push image to ECR #166

Closed
samuelarogbonlo opened this issue May 19, 2021 · 2 comments
Closed

unable to push image to ECR #166

samuelarogbonlo opened this issue May 19, 2021 · 2 comments

Comments

@samuelarogbonlo
Copy link

samuelarogbonlo commented May 19, 2021

The pipeline part for this process is shown this

name: Configure AWS credentials
              
          uses: aws-actions/configure-aws-credentials@v1
              
           with:
                aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}

                aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

                aws-region: us-east-2

            - name: Login to Amazon ECR
            
              id: login-ecr
              uses: aws-actions/amazon-ecr-login@v1

           - name: Build, tag, and push image to Amazon ECR
           
              id: build-image

              env:

                ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}

                ECR_REPOSITORY: service-t

The error is shown thus:

name unknown: The repository with name 'service-t' does not exist in the registry with id '***'

Error: Process completed with exit code 1.

I have tried all means to solve this by confirming all correct parameters and repo is correct but still same error, I need help, how do I handle this please?

@apande29
Copy link

I am having similar issue

@elrayle
Copy link

elrayle commented Oct 15, 2021

Are you trying to push to a public ECR repo? If so, see Issue #116.

@arjraman arjraman closed this as completed Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants