diff --git a/frontend/dockerfile/cmd/dockerfile-frontend/hack/release b/frontend/dockerfile/cmd/dockerfile-frontend/hack/release index 3817c96c..6668f53e 100755 --- a/frontend/dockerfile/cmd/dockerfile-frontend/hack/release +++ b/frontend/dockerfile/cmd/dockerfile-frontend/hack/release @@ -104,7 +104,7 @@ case $TYP in --opt platform=$PLATFORMS \ --opt "build-arg:CHANNEL=$TAG" \ --opt "build-arg:BUILDTAGS=$buildTags" \ - --output type=image,name=$publishedNames,$pushFlag + --output type=image,\"name=$publishedNames\",$pushFlag ;; "daily") if [ -z $DAILY_TARGETS ]; then diff --git a/hack/images b/hack/images index 91b66a7f..12ae5363 100755 --- a/hack/images +++ b/hack/images @@ -82,14 +82,14 @@ image() { --local context=. --local dockerfile=. \ --opt filename=./hack/dockerfiles/test.buildkit.Dockerfile \ --opt platform=$PLATFORMS \ - --output type=image,name=$REPO:$TAG$tagLatest,$pushFlag + --output type=image,\"name=$REPO:$TAG$tagLatest\",$pushFlag buildctl build $progressFlag --frontend=dockerfile.v0 \ --local context=. --local dockerfile=. \ --opt target=rootless \ --opt filename=./hack/dockerfiles/test.buildkit.Dockerfile \ --opt platform=$PLATFORMS \ - --output type=image,name=$REPO:$TAG-rootless$tagLatestRootless,$pushFlag + --output type=image,\"name=$REPO:$TAG-rootless$tagLatestRootless\",$pushFlag } case $buildmode in