### 📖 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>
### 📖 Summary
fix usage of `dry-run` option in docs example. It is supposed to be `dry-run` and not `dry_run`.
See the current docs here: https://woodpecker-ci.org/plugins/Docker%20Buildx for an example
### 📑 Build PR Images?
PR images are not needed
### 💬 Details
_No response_
Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/117
Reviewed-by: Lauris BH <lafriks@noreply.codeberg.org>
Co-authored-by: bretello <bretello@distruzione.org>
Co-committed-by: bretello <bretello@distruzione.org>
Prefixing to make the settings easier to distinguish from non-ECR ones.
Also expanded the multi-repo push example.
Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/115
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
This fixes an error in the documentation. Multiple tags in tags_file are separated by a newline instead of a comma.
See: 5116f6263f/plugin/impl.go (L138)
Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/107
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: Thomas Renes <thomas@renesweb.nl>
Co-committed-by: Thomas Renes <thomas@renesweb.nl>
#### 📖 Summary
Adds `--driver-opt` buildx arg as plugin parameter. This should make it possible to pass through proxy settings.
#### 📑 Test Plan
> 💡 Select your test plan for the code changes.
- [x] CI pipeline tests
- Custom test
- No test plan
##### Details / Justification
Manually tested on own instance behind corporate proxy:
![image](/attachments/b65d981d-c9b8-4228-8e9c-61fa517d98b6)
Unfortunately the `--build-arg` passthru seems not working
#### 📚 Additional Notes
- fixes#82
- still to do:
- [x] update docs
- [x] add usage example
> 💡NOTE: This is my first contribution in this codebase. Feedback and help is probably needed 😸
Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/93
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: OCram85 <marco.blessing@googlemail.com>
Co-committed-by: OCram85 <marco.blessing@googlemail.com>
- Only the `.tags` filename is allowed.
- The file can have multiple tags, as a CSV
Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/75
Reviewed-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Co-authored-by: lonix <lonix@noreply.codeberg.org>
Co-committed-by: lonix <lonix@noreply.codeberg.org>
Implements #30, allows setting a (single) tag to override the default of `latest` allows for the woodpecker-ci usecase of setting `next` as the tag for the default branch.
Co-authored-by: Gapodo <gapodo@datenclown.at>
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/36
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: gapodo <gapodo@geekvoid.net>
Co-committed-by: gapodo <gapodo@geekvoid.net>
This implements #32, allowing to append tags supplied via `tags` along side auto generated tags.
Tags supplied via `tags` are *not* suffixed by the `auto_tag_suffix`
Co-authored-by: Gapodo <gapodo@datenclown.at>
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/35
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: gapodo <gapodo@geekvoid.net>
Co-committed-by: gapodo <gapodo@geekvoid.net>