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
6543
25ad50a579
Add support for multible registrys ( #23 )
...
if normal settings `registry`, `username`... is set
that's used as default, else first logins entry is used.
```yml
settings:
logins:
- registry: https://codeberg.org
username: "6543"
password: geheim
- registry: https://index.docker.io/v1/
username: a6543
password: anders_geheim
```
close #18
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/23
Reviewed-by: anbraten <anbraten@noreply.codeberg.org>
2022-10-08 16:02:02 +02:00
6543
10426e6a19
Allow multible Repos ( #22 )
...
close partialy #18
we still need to handle multible registry login
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/22
2022-09-28 15:17:39 +02:00
Lauris BH
be7d7c0244
Implement option to add image labels and generate automatic labels ( #19 )
...
Fixes #16
Results into labels:
![attels](/attachments/3aa6641e-fe50-4e28-be97-64c0afe2c35a)
Co-authored-by: Lauris BH <lauris@nix.lv>
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/19
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lafriks@noreply.codeberg.org>
Co-committed-by: Lauris BH <lafriks@noreply.codeberg.org>
2022-09-28 02:16:57 +02:00
Lauris BH
b88f39c31f
Add build output option ( #11 )
...
Fixes #6
Also updates dependencies
Co-authored-by: Lauris BH <lauris@nix.lv>
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/11
Reviewed-by: anbraten <anbraten@noreply.codeberg.org>
Co-authored-by: Lauris BH <lafriks@noreply.codeberg.org>
Co-committed-by: Lauris BH <lafriks@noreply.codeberg.org>
2022-09-20 18:02:35 +02:00
Robert Kaussow
276f215b24
fix: remove unimplemented squash option ( #52 )
2021-09-07 21:34:47 +02:00
Robert Kaussow
a5a561fd91
feat: load buildkit config from string instead of file ( #37 )
2021-07-25 14:28:33 +02:00
Albie
904641bf10
feat: add option to specify buildkit config file path ( #32 )
2021-07-08 09:00:51 +02:00
Maarten De Wispelaere
2e0e0dd7d7
Possible fix for https://github.com/thegeeklab/drone-docker-buildx/issues/28 ( #30 )
2021-07-02 18:58:55 +02:00
Robert Kaussow
a6cc96fbda
fix: allow multi-platform builds using --push flag ( #29 )
2021-06-16 22:21:00 +02:00
Robert Kaussow
410d80eb98
append users build-args to the default slice
2021-01-22 12:57:32 +01:00
Robert Kaussow
95cc0cafe5
fix string formatting
2021-01-22 12:19:34 +01:00
Robert Kaussow
3bb91263e1
feat: set DOCKER_IMAGE_CREATED as build-arg
2021-01-22 12:00:14 +01:00
Robert Kaussow
90f4d344e8
Revert "feat: add env variable DRONE_DOCKER_BUILD_TIME to docker cmd"
...
This reverts commit 0e25852747
.
2021-01-22 11:57:01 +01:00
Robert Kaussow
0e25852747
feat: add env variable DRONE_DOCKER_BUILD_TIME to docker cmd
2021-01-22 11:17:55 +01:00
Robert Kaussow
671755636d
revert seccomp patch
2021-01-16 22:11:08 +01:00
Robert Kaussow
3a1c3f61cd
patch seccomp profile
2021-01-16 21:56:43 +01:00
Robert Kaussow
2496502ff6
fix staticcheck
2021-01-11 22:06:24 +01:00
Robert Kaussow
ba28c39a7d
refactor: update dependencies and use plugin boilerplate
2021-01-11 21:54:49 +01:00