Setting the output without --push

This commit is contained in:
2025-01-18 13:55:42 +01:00
parent eda18db92d
commit b8e13f9bce

View File

@@ -34,7 +34,7 @@ if [ -n "$INPUT_PLATFORM" ]; then
fi
if [ "$INPUT_PUSH_IMAGE" = "true" ]; then
DOCKER_BUILD_OPTIONS+=("--push" "--output=type=image,push=true,compression=zstd,compression-level=8")
DOCKER_BUILD_OPTIONS+=("--output=type=image,name=${IMAGE_NAME},push=true,compression=zstd,compression-level=8")
fi
if [ "$INPUT_PULL_CACHE" = "true" ]; then