It is cache-from

This commit is contained in:
Kamil Trzciński 2021-02-02 13:44:38 +01:00
parent c393e4e804
commit 2269f81b22
2 changed files with 12 additions and 6 deletions

View file

@ -305,7 +305,7 @@ function build_custom_if_needed() {
# This re-uses and builds an existing image if needed
docker pull "$full_image" || true
docker_command=$(generate_command $@ --from-cache="$full_image_name" )
docker_command=$(generate_command $@ --cache-from="$full_image_name" )
echo "Building $build_image_name with $docker_command"
eval $docker_command
}