The problem
Current approach to getting a setup-wrf container in AWS ECR is to pull the built image from GHCR and then push it up to ECR in CI. However, this requires adding AWS credentials to GitHub and adds time and complexity to the CI pipeline.
AWS ECR supports pull through caching of images: https://docs.aws.amazon.com/AmazonECR/latest/userguide/pull-through-cache.html. When fetching the image through ECR, if the upstream registry is GHCR, ECR will fetch and cache the image.
Definition of "done"
Additional context
The problem
Current approach to getting a setup-wrf container in AWS ECR is to pull the built image from GHCR and then push it up to ECR in CI. However, this requires adding AWS credentials to GitHub and adds time and complexity to the CI pipeline.
AWS ECR supports pull through caching of images: https://docs.aws.amazon.com/AmazonECR/latest/userguide/pull-through-cache.html. When fetching the image through ECR, if the upstream registry is GHCR, ECR will fetch and cache the image.
Definition of "done"
setup-wrfare available in ECRAdditional context