Adding logs
This commit is contained in:
@@ -29,7 +29,7 @@ fi;
|
||||
DOCKER_BUILD_OPTIONS=("--progress" "plain" "-t" "$IMAGE_NAME")
|
||||
|
||||
if [ -n "$INPUT_PLATFORM" ]; then
|
||||
DOCKER_BUILD_OPTIONS+=("--platform" "$INPUT_PLATFORM")
|
||||
DOCKER_BUILD_OPTIONS+=("--platform" "$INPUT_PLATFORM" "--pull")
|
||||
fi
|
||||
|
||||
if [ "$INPUT_PUSH_IMAGE" = "true" ]; then
|
||||
@@ -39,7 +39,7 @@ fi
|
||||
if [ "$INPUT_PULL_CACHE" = "true" ]; then
|
||||
IMAGE_CACHE_NAME="${IMAGE_NAME%%:*}:build-cache"
|
||||
DOCKER_BUILD_OPTIONS+=("--cache-from" "type=registry,ref=${IMAGE_CACHE_NAME}")
|
||||
DOCKER_BUILD_OPTIONS+=("--cache-to" "type=registry,ref=${IMAGE_CACHE_NAME},mode=max")
|
||||
DOCKER_BUILD_OPTIONS+=("--cache-to" "type=registry,image-manifest=true,oci-mediatypes=true,ref=${IMAGE_CACHE_NAME},mode=max")
|
||||
echo "Using docker image cache ${IMAGE_CACHE_NAME}"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user