Open magickatt opened 1 year ago
Been investigating this further and noticed the following quote from the Registry documentation
A registry is required unless using the Docker build plugin via a CLI runner. This is not the common case, and thusly almost always a registry stanza should be used.
https://developer.hashicorp.com/waypoint/docs/waypoint-hcl/registry
But surely this isn't true for either aws-ecr-pull
or docker-pull
since they will often be used in situations where the image is not pushed back? (based on the example waypoint.hcl
snippets provided for both)
i ran into the same issue with aws-ecr-pull
for build and aws-ecs
deploy. I have to hack by add registry aws-ecs
stanza but this caused re-pushing image on ECR
Describe the bug
Have had this working previously (unsure how to replicate) with a Runner on the same EKS cluster as the Server, but am running into an issue trying to
build
using theaws-ecr-pull
plugin whereby it will not work without aregistry
stanza, which from documentation should not be required since the image is never being built or pushed?https://github.com/hashicorp/waypoint/pull/3396 shows an example with no registry stanza. But not including it results in
Steps to Reproduce
waypoint.hcl
Expected behavior Build should work without a registry stanza, or it should be possible to supply a
null
registry stanza as per comment https://github.com/hashicorp/waypoint/issues/3328#issuecomment-1130181491Waypoint Platform Versions
aws-ecr-pull
Additional context
Failing command is
waypoint up -w=development -var=tag=0.0.7 -p=examples -local=false
(same error happens when running for Production)Runners are configured using an On-Demand Runner installed on the control cluster using Helm, and Development and Production Runners installed using
waypoint runner install