I am working with Azure DevOps build and release pipelines to deploy a containerised .NET Core application. Previously, the image repo has been Docker Hub and the deployment system has been an on-premise Kubernetes cluster. However, now we are shifting to AWS, and we're looking at using ECR and EKS.
In my current pipelines, the build pipeline builds and pushes the container image to Docker Hub, and the release pipeline uses the DockerHub image artifact as its source, which all works nicely.
However, while there is an ECR build step in the Azure marketplace, I can't see a way of setting up ECR as an artifact source. Has anyone been able to solve this? Or should I just package up the DLLs and JSON settings as a build artifact, and then have a Dockerfile that takes those files and builds the image at the start of the release step (so I still am deploying a single image and then promoting to different environments)?