Replies: 1 comment
|
There isn't an option as far as I can see to configure zstd for the published image, only for the image cache. As a workaround, I've edited the Kamal binstub at # PATCH: Kamal has no deploy.yml configuration to specify buildx output compression.
require "kamal"
Kamal::Commands::Builder::Base.prepend(Module.new do
def push(export_action = "registry", tag_as_dirty: false, no_cache: false)
export_action = "#{export_action},compression=zstd,compression-level=12,force-compression=true"
super
end
end)
load Gem.bin_path("kamal", "kamal") |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
How can I use zstd compression? Uploading is quite slow. And research indicated that compressing with zstd at build time would improve.
This didn't work
Edit: fixed; needs to be in
cache:All reactions