Skip to content
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

Builder is failing when using just local builder #407

Closed
cleanbit opened this issue Jul 30, 2023 · 4 comments
Closed

Builder is failing when using just local builder #407

cleanbit opened this issue Jul 30, 2023 · 4 comments

Comments

@cleanbit
Copy link

mrsk always failing if builder has just one local architecture. The issue was introduced with v0.14.0, downgrading to v0.13.2 helps.

Identical ticket was opened and closed instantly for some reason :)

I'm running M1 and cross-compiling to amd64

Error:

ERROR (ArgumentError): You must specify both local and remote builder config for remote multiarch builds

builder part of the config.

builder:
  local:
    arch: amd64
@scart88
Copy link

scart88 commented Aug 8, 2023

Hey @cleanbit, I switched to remote option as it was much faster to build the image than on my M1.
In addition to that, the server network speed is up to 1gb and was much faster to upload to the registry.

@djmb
Copy link
Collaborator

djmb commented Aug 8, 2023

I think this regression was introduced in #337 - cc @igor-alexandrov.

@igor-alexandrov
Copy link
Contributor

Yes, it is my fault. Will prepare a fix ASAP.

igor-alexandrov added a commit to igor-alexandrov/kamal that referenced this issue Aug 8, 2023
@igor-alexandrov
Copy link
Contributor

@djmb I opened a PR.

However I understood two things:

  1. Currently we support cache for only native builds (this is what I initially needed), remote cached builds are not supported. Should cache also be implemented for remote builds?
  2. We should really put some effort to finalize this: Validate deploy.yaml with json-schema #37

@djmb djmb closed this as completed Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants