You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.error(f"Failed to build image {tags}: {e}")
225
210
raiseRuntimeError(f"Failed to build image {tags}: {str(e)}")
211
+
212
+
213
+
def_build_cache(tags):
214
+
# Filter tags to only include ECR ones (containing ".dkr.ecr.")
215
+
ecr_tags= [tagfortagintagsif".dkr.ecr."intag]
216
+
ifnotecr_tags:
217
+
return [], {}
218
+
primary_tag=ecr_tags[0]
219
+
# Extract the repository URL without tag (e.g., "268558157000.dkr.ecr.us-east-1.amazonaws.com/dev/mongodb-kubernetes:1.0.0" -> "268558157000.dkr.ecr.us-east-1.amazonaws.com/dev/mongodb-kubernetes")
# Extract just the image name from the repository URL (e.g., "268558157000.dkr.ecr.us-east-1.amazonaws.com/dev/mongodb-kubernetes" -> "mongodb-kubernetes")
0 commit comments