Build both arches with remote multarch builder

When using the remote build arch builder, build with both arches.
This commit is contained in:
Donal McBreen
2024-09-02 15:22:18 +01:00
parent d6f5da92be
commit d269fc5d36
2 changed files with 6 additions and 2 deletions

View File

@@ -58,4 +58,8 @@ class Kamal::Commands::Builder::Multiarch::Remote < Kamal::Commands::Builder::Mu
def remove_context(arch)
docker :context, :rm, builder_name_with_arch(arch)
end
def platform_names
"linux/#{local_arch},linux/#{remote_arch}"
end
end