basecamp / kamal

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

Host Changes in Builder Config Do Not Apply Automatically #806

Closed zdehasek closed 4 months ago

zdehasek commented 4 months ago

After changing the configuration file ./config/deploy.yml from:

...
builder:
  remote:
    arch: amd64
    host: ssh://root@<old_ip_address>
...

to

...
builder:
  remote:
    arch: amd64
    host: ssh://root@<new_ip_address>
...

Kamal did not update the Docker Buildx or context configurations, so the build process continued to attempt to reach .

After removing the specific Docker Buildx instance and Docker context, and re-running kamal deploy, Kamal successfully re-created the builder configuration.

djmb commented 4 months ago

I think this is the same as https://github.com/basecamp/kamal/issues/714