-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
garden publish does not respect deploymentRegistry #4095
Comments
One customer affected by this bug currently is using a workaround where instead of using garden publish they've got a custom shell script that calls AWS commands directly to publish the image tag. This also results in it being much faster since it doesn't need to pull the image down to their machine locally and then re-upload it. |
@Walther If you scroll down to Building and pushing images to multiple registries from CI/CD |
@Walther some more feedback from our client: They managed to get it working if they manually define the But if they try with They confirm the Here's their kind: Build
type: container
name: dbi-api-gcp
spec:
publishId: ${actions.deploy.terraform-registries.outputs.gcp_repository_url}/db-api Should be reproducible with my doc linked in last comment. Let me know if there's any other way I can help! |
The The full public image identifier (registry, image name and version tag) should be defined in Closing this as not planned. |
Bug
Current Behavior
Running
garden publish
inexamples/demo-project
, which uses the GCR image registry, results in an attempted push to thedocker.io
registryExpected behavior
garden publish
should respect thedeploymentRegistry
configuration and publish the image to the appropriate registry.Reproducible example
examples/demo-project
Workaround
Suggested solution(s)
Additional context
Originally reported by a customer in a support conversation, more details in internal Slack.
Your environment
garden version
The text was updated successfully, but these errors were encountered: