ECR Image: push without build #1203
Labels
awaiting-upstream
The issue cannot be resolved without action in another repository (may be owned by Pulumi).
kind/enhancement
Improvements or new features
Milestone
Hello!
Issue details
Currently the image being pushed to ECR must be also built by Pulumi, which is a rather uncommon setup in projects where the build steps are separated from the deployment steps. The schema of the resource allows for no build args to be provided, but fails when it cannot locate a Dockerfile
It would be great if there were a way to push an image to the ECR registry if it has already been built and tagged on the local host.
See pulumi/pulumi-docker#54 for a similar discussion on the docker provider. It is suggested that if no build is required, a
docker.RegistryImage
should be created instead ofdocker.Image
Affected area/feature
A possible solution is to support an
imageName
input for the Image, and branch the internal logic based on its presence:The text was updated successfully, but these errors were encountered: