From ec2a0f5779dffaad49775f85aa995122dcdd86b6 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 1 Dec 2023 22:12:59 +0100 Subject: [PATCH] feat: without opts Signed-off-by: kjuulh --- crates/cuddle-ci/src/rust_service/docker_cache.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/crates/cuddle-ci/src/rust_service/docker_cache.rs b/crates/cuddle-ci/src/rust_service/docker_cache.rs index 2def7b4..862bbfe 100644 --- a/crates/cuddle-ci/src/rust_service/docker_cache.rs +++ b/crates/cuddle-ci/src/rust_service/docker_cache.rs @@ -34,14 +34,7 @@ impl DaggerMiddleware for DockerCache { container .with_registry_auth(&url, &username, secret) - .publish_opts( - &url, - dagger_sdk::ContainerPublishOpts { - forced_compression: Some(dagger_sdk::ImageLayerCompression::Gzip), - media_types: Some(dagger_sdk::ImageMediaTypes::OCIMediaTypes), - platform_variants: None, - }, - ) + .publish(&url) .await?; } _ => {