Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
4e380b17c0
commit
ec2a0f5779
@ -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?;
|
||||
}
|
||||
_ => {
|
||||
|
Loading…
Reference in New Issue
Block a user