docker-buildx/plugin
David Kovari ef56bac838 Improve support for cache_to and cache_from & add cache_images (#129)
### 📖 Summary

Originally, the cache_to and cache_from were being converted into string arrays. Then their contents were looped over to add to the build command. This has the side affect of stopping the user from setting additional options for the cache-to and cache-from args since their command input format uses commas. i.e. `type=registry,ref=imagepath,mode=max` would result in `--cache-to type=registry --cache-to ref=imagepath --cache-to mode=max`. The command was not designed to be used that way.

The one reason I can think of for cache_to and cache_from to be arrays is so you could have multiple cache registries. But I can't confirm that the build command even works like this.

### 📑 Build PR Images?

PR images are not needed

### 💬 Details

_No response_

Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/129
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: David Kovari <dakovari@gmail.com>
Co-committed-by: David Kovari <dakovari@gmail.com>
2024-02-02 20:25:30 +00:00
..
coredns.go Add internal DNS server if no custom DNS is set (#45) 2022-11-23 14:01:45 +00:00
daemon.go Add option to enable buildkit debug output (#119) 2024-01-14 23:35:00 +00:00
docker.go Improve support for cache_to and cache_from & add cache_images (#129) 2024-02-02 20:25:30 +00:00
docker_test.go format via gofumpt (#123) 2024-01-15 07:06:52 +00:00
ecr.go format via gofumpt (#123) 2024-01-15 07:06:52 +00:00
impl.go Improve support for cache_to and cache_from & add cache_images (#129) 2024-02-02 20:25:30 +00:00
impl_test.go Add option to set individual mirrors for all logins (#122) 2024-01-18 18:28:42 +00:00
labels.go Enhance SemVersion detection (#52) 2022-12-21 17:11:09 +00:00
login.go Add support for multible registrys (#23) 2022-10-08 16:02:02 +02:00
plugin.go Fix func to determine default login (#29) 2022-10-11 11:38:36 +02:00
tags.go Enhance SemVersion detection (#52) 2022-12-21 17:11:09 +00:00
tags_test.go Enhance SemVersion detection (#52) 2022-12-21 17:11:09 +00:00