spiegel_podman/pkg/bindings/images
Joshua Arrevillaga 73f3e98947 Feat: send additional build contexts for remote builds
Fixed the --build-context flag to properly send files for remote builds. Previously
only the main context was sent over as a tar while additional contexts were passed as
local paths and this would cause builds to fail since the files wouldn't exist.

New changes modifies the Build API to use multipart HTTP requests allowing multiple
build contexts to be used. Each additional context is packaged and
transferred based on its type:
- Local Directories: Sent as tar archives
- Git Repositories: link sent to the server where its then cloned
- Container Images: Image reference sent to the server, it then pulls the image there
- URLs/archives: URL sent to the server, which handles the download

Fixes: #23433

Signed-off-by: Joshua Arrevillaga <2004jarrevillaga@gmail.com>
2025-07-23 11:34:38 -04:00
..
build.go Feat: send additional build contexts for remote builds 2025-07-23 11:34:38 -04:00
build_test.go Convert additional build context paths on Windows 2024-07-29 17:43:36 +02:00
build_unix.go pkg/bindings/images: fix linter warning on Darwin 2025-03-31 12:27:55 -07:00
build_windows.go Handle hard links in remote builds 2021-05-22 05:27:03 -04:00
diff.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
images.go update golangci-lint to v1.59.1 2024-06-10 14:57:45 +02:00
pull.go pkg/bindings: fix infinite loop/memory leak in image pull 2025-04-29 12:19:37 +02:00
push.go pkg/bindings: wrap image push decode error 2025-04-29 12:20:37 +02:00
rm.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types.go prune: support clearing build cache using CleanCacheMount 2024-09-05 10:40:07 -07:00
types_diff_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_exists_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_export_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_get_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_history_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_import_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_list_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_load_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_prune_options.go prune: support clearing build cache using CleanCacheMount 2024-09-05 10:40:07 -07:00
types_pull_options.go Allow podman pull to specify --retry and --retry-delay 2024-02-17 07:37:26 -05:00
types_push_options.go Add support for podman push --retry --retry-delay 2024-02-29 10:20:21 -05:00
types_remove_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_scp_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_search_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_tag_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_tree_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
types_untag_options.go Bump Go module to v5 2024-02-08 09:35:39 -05:00