diff --git a/frontend/dockerfile/builder/caps.go b/frontend/dockerfile/builder/caps.go index 3c78cd56c4da..bb8b100c0bf4 100644 --- a/frontend/dockerfile/builder/caps.go +++ b/frontend/dockerfile/builder/caps.go @@ -10,9 +10,10 @@ import ( ) var enabledCaps = map[string]struct{}{ - "moby.buildkit.frontend.inputs": {}, - "moby.buildkit.frontend.subrequests": {}, - "moby.buildkit.frontend.contexts": {}, + "moby.buildkit.frontend.inputs": {}, + "moby.buildkit.frontend.subrequests": {}, + "moby.buildkit.frontend.contexts": {}, + "moby.buildkit.frontend.gitquerystring": {}, } func validateCaps(req string) (forward bool, err error) { diff --git a/frontend/dockerfile/cmd/dockerfile-frontend/Dockerfile b/frontend/dockerfile/cmd/dockerfile-frontend/Dockerfile index 85ce17ff55a7..9c338137a72d 100644 --- a/frontend/dockerfile/cmd/dockerfile-frontend/Dockerfile +++ b/frontend/dockerfile/cmd/dockerfile-frontend/Dockerfile @@ -33,7 +33,7 @@ RUN --mount=target=. --mount=type=cache,target=/root/.cache \ FROM scratch AS release LABEL moby.buildkit.frontend.network.none="true" -LABEL moby.buildkit.frontend.caps="moby.buildkit.frontend.inputs,moby.buildkit.frontend.subrequests,moby.buildkit.frontend.contexts" +LABEL moby.buildkit.frontend.caps="moby.buildkit.frontend.inputs,moby.buildkit.frontend.subrequests,moby.buildkit.frontend.contexts,moby.buildkit.frontend.gitquerystring" COPY --from=build /dockerfile-frontend /bin/dockerfile-frontend ENTRYPOINT ["/bin/dockerfile-frontend"]