Go to file
miniduikboot a187589df9 add cache_to option and remove manual image pull (#46)
Port from https://github.com/thegeeklab/drone-docker-buildx/pull/124

Basically docker cache got a bit fancier and now includes a cache manifest. Manually pulling these containers isn't sufficient enough, so remove the manual pull.

cache_to allows you to push your cache including a manifest to a remote location: https://docs.docker.com/engine/reference/commandline/buildx_build/#cache-to

Unfortunately this option isn't quite that useful: to fully use this feature, you need to supply your arguments in CSV format, which woodpecker unhelpfully splits into multiple completely separate arguments, breaking it :(

With a further change to fix that issue I managed to turn a multistage rust build from ~3 minutes down to 20 seconds.

Co-authored-by: miniduikboot <mini@duikbo.at>
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/46
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: miniduikboot <miniduikboot@noreply.codeberg.org>
Co-committed-by: miniduikboot <miniduikboot@noreply.codeberg.org>
2022-11-23 15:55:12 +00:00
cmd/docker-buildx add cache_to option and remove manual image pull (#46) 2022-11-23 15:55:12 +00:00
plugin add cache_to option and remove manual image pull (#46) 2022-11-23 15:55:12 +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
.gitignore CI: add test (#26) 2022-10-08 15:32:14 +02:00
.markdownlint.yml docs: add parameter documentation (#53) 2021-09-11 21:15:02 +02:00
.prettierignore chore: improve generated changelog (#25) 2021-05-09 23:46:51 +02:00
.woodpecker.yml ci: bump own latest version for build 2022-11-06 20:18:45 +01: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
Dockerfile.multiarch Add internal DNS server if no custom DNS is set (#45) 2022-11-23 14:01:45 +00:00
docs.md fix typo in docs (#39) 2022-11-10 15:01:35 +01:00
go.mod Fix func to determine default login (#29) 2022-10-11 11:38:36 +02:00
go.sum Fix func to determine default login (#29) 2022-10-11 11:38:36 +02:00
LICENSE fork: initial release 2021-01-10 23:47:55 +01:00
Makefile Ensure that the plugin binary does not conflict with the utility being used (#24) 2022-10-08 00:58:57 +02:00
README.md Update the documentation link in README (#33) 2022-10-27 07:55:38 +02:00
renovate.json fork: initial release 2021-01-10 23:47:55 +01:00

plugin-docker-buildx

Get it on Codeberg

Woodpecker CI plugin to build multiarch Docker images with buildx

Woodpecker CI plugin to build multiarch Docker images with buildx. This plugin is a fork of thegeeklab/drone-docker-buildx which itself is a fork of drone-plugins/drone-docker. You can find the full documentation at You can find the full documentation at woodpecker-ci.org.

Contributors

Special thanks goes to all contributors. If you would like to contribute, please see the instructions.

License

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