-
Notifications
You must be signed in to change notification settings - Fork 437
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
Can't override --config-file
in aliases
#1027
Comments
Yes that's not something that was supported, but making it work turned out to be easy enough - #1032 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a secondary service that's deployed from my app's repo via a separate configuration file.
I can deploy the secondary service with
kamal deploy --config-file=config/other.deploy.yml
and that command succeeds.I tried to make this command an alias in my main app's
config/deploy.yml
, but I get a registry error because the secondary service uses a different registry but kamal tries to use the main app's registry to pull the image:When in
config/other.deploy.yml
, I have theregistry.server
set toother.myregistry.com
.My alias configuration in
config/deploy.yml
looks like:If I'm using kamal in an unintended way please tell me 😅. But it would be nice if I could configure an alias to deploy my secondary service so I don't have to add
--config-file=config/other.deploy.yml
every time.The text was updated successfully, but these errors were encountered: