We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ab01c6e + 61a709d commit f0bf20eCopy full SHA for f0bf20e
xtask/src/build_docker_image.rs
@@ -232,6 +232,13 @@ pub fn build_docker_image(
232
),
233
]);
234
} else {
235
+ // we can't use `image_name` since podman doesn't support tags
236
+ // with `--cache-from`. podman only supports an image format
237
+ // of registry/repo although it does when pulling images. this
238
+ // affects building from cache with target+subs images since we
239
+ // can't use caches from registry. this is only an issue if
240
+ // building with podman without a local cache, which never
241
+ // happens in practice.
242
docker_build.args(["--cache-from", &format!("{repository}/{}", target.name)]);
243
}
244
0 commit comments