basecamp / kamal

Deploy web apps anywhere.
https://kamal-deploy.org
MIT License
10.51k stars 398 forks source link

Check that we have valid contexts before building #831

Closed djmb closed 3 months ago

djmb commented 3 months ago

Load the hosts from the contexts before trying to build.

If there is no context, we'll create one. If there is one but the hosts don't match we'll re-create.

Where we just have a local context, there won't be any hosts but we still inspect the builder to check that it exists.

Fixes #90