Skip to content

CheckECRImageExists function return wrong result when too many tags exist in repository. #77

Description

@wellshs

I experienced that yatai-deployment try to build images which already exist in ecr repository.

aws-sdk-go's list images doesn't ensure list all the images from repository. It returns 100 as default.
I'm not sure how to support this case in yatai-deployment.
But, I think only checking only 100 results is too small for current usecase.(Share one repository for all bentos)
Currently, I'm trying to handle this issue with ECR repository lifecycle policy.

references

  1. input := &ecr.ListImagesInput{
  2. https://docs.aws.amazon.com/sdk-for-go/api/service/ecr/#ListImagesInput

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions