Docker buildx plugin for Woodpecker - replacement for plugins/docker and plugins/ecr
Go to file
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
.gitea add config.yml to issue template 2024-01-01 22:03:24 +01:00
cmd/docker-buildx Improve support for cache_to and cache_from & add cache_images (#129) 2024-02-02 20:25:30 +00:00
plugin Improve support for cache_to and cache_from & add cache_images (#129) 2024-02-02 20:25:30 +00:00
utils Add option to overwrites tags option with values specified in an file (#62) 2023-05-02 19:25:49 +00:00
.changelog.yml Add changelog tool config 2022-11-06 14:43:33 +01:00
.dictionary docs: add parameter documentation (#53) 2021-09-11 21:15:02 +02:00
.ecrc format via gofumpt (#123) 2024-01-15 07:06:52 +00:00
.editorconfig format via gofumpt (#123) 2024-01-15 07:06:52 +00:00
.gitignore Add option to set individual mirrors for all logins (#122) 2024-01-18 18:28:42 +00:00
.markdownlint.yml update README 2024-01-01 22:21:41 +01:00
.prettierignore chore: improve generated changelog (#25) 2021-05-09 23:46:51 +02:00
.woodpecker.yml Don't run dryrun when building pr images (#131) 2024-01-26 03:19:46 +00:00
CONTRIBUTING.md prelim to switch to woodpecker plugin 2021-10-12 23:40:58 -04:00
Corefile Add internal DNS server if no custom DNS is set (#45) 2022-11-23 14:01:45 +00:00
docker.svg Add logo (#120) 2024-01-13 10:23:26 +00:00
Dockerfile.multiarch chore(deps): update docker docker tag to v25.0.1 2024-01-25 00:08:04 +00:00
docs.md Improve support for cache_to and cache_from & add cache_images (#129) 2024-02-02 20:25:30 +00:00
go.mod fix(deps): update module github.com/aws/aws-sdk-go to v1.50.5 2024-01-27 00:08:09 +00:00
go.sum fix(deps): update module github.com/aws/aws-sdk-go to v1.50.5 2024-01-27 00:08:09 +00:00
LICENSE fork: initial release 2021-01-10 23:47:55 +01:00
Makefile format via gofumpt (#123) 2024-01-15 07:06:52 +00:00
README.md update README 2024-01-01 22:21:41 +01:00
renovate.json renovate: use org config 2023-10-30 09:33:19 +01:00

plugin-docker-buildx


status-badge Latest release Matrix space Docker pulls License: Apache-2.0


Woodpecker CI plugin to build multiarch Docker images with buildx. This plugin was initially a fork of thegeeklab/drone-docker-buildx (now archived in favor of this plugin) which itself was a fork of drone-plugins/drone-docker. I also contains the ability to publish to AWS ECR which was previously provided by drone-plugins/drone-ecr. You can find the full documentation at woodpecker-ci.org (docs.md).

Images

Images are available on Dockerhub and in the Codeberg registry.

License

This project is licensed under the Apache-2.0 License - see the LICENSE file for details.