Before building images, create `target` dir if necessary (#11433)

This commit is contained in:
Alejandro Pedraza 2023-09-27 17:47:11 -05:00 committed by GitHub
parent b567bb1e2a
commit 0244282d96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ See https://github.com/docker/buildx/issues/59 for more details'
fi fi
log_debug " :; docker buildx $rootdir $cache_params $output_params -t $repo:$tag -f $file $*" log_debug " :; docker buildx $rootdir $cache_params $output_params -t $repo:$tag -f $file $*"
mkdir -p target
# shellcheck disable=SC2086 # shellcheck disable=SC2086
docker buildx build "$rootdir" $cache_params \ docker buildx build "$rootdir" $cache_params \
$output_params \ $output_params \