libpod/build: add headers

Add `headers` for `/libpod/build`

Closes: https://github.com/containers/podman/issues/26440

Signed-off-by: flouthoc <flouthoc.git@gmail.com>
This commit is contained in:
flouthoc committed 2025-07-08 06:51:32 -07:00
1 parent 0737c19689
commit 152849ebd2
1 file changed
+8
+8
View File
@@ -1487,6 +1487,14 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// summary: Create image
// description: Build an image from the given Dockerfile(s)
// parameters:
// - in: header
// name: Content-Type
// type: string
// default: application/x-tar
// enum: ["application/x-tar"]
// - in: header
// name: X-Registry-Config
// type: string
// - in: query
// name: dockerfile
// type: string