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
|
container
|
||||||
.with_registry_auth(&url, &username, secret)
|
.with_registry_auth(&url, &username, secret)
|
||||||
.publish_opts(
|
.publish(&url)
|
||||||
&url,
|
|
||||||
dagger_sdk::ContainerPublishOpts {
|
|
||||||
forced_compression: Some(dagger_sdk::ImageLayerCompression::Gzip),
|
|
||||||
media_types: Some(dagger_sdk::ImageMediaTypes::OCIMediaTypes),
|
|
||||||
platform_variants: None,
|
|
||||||
},
|
|
||||||
)
|
|
||||||
.await?;
|
.await?;
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
|
Loading…
Reference in New Issue
Block a user