Commit Graph

54 Commits

Author SHA1 Message Date
Robert Kaussow 51889e1102
chore: migrate to wp-plugin-go v3 (#181) 2024-05-17 21:55:16 +02:00
Robert Kaussow 6964a133e8
fix: check is cmd is nil before execution (#176) 2024-05-07 11:57:26 +02:00
Robert Kaussow 757d2804ea
refactor: switch to plugin Cmd and add tests (#175) 2024-05-06 20:29:51 +02:00
Robert Kaussow 77beefbc24
docs: hide system flags and refactor generator (#169) 2024-05-05 13:03:50 +02:00
Robert Kaussow 7cb1fdfd01
chore: cleanup docs and use cmd trace from plugin lib (#94) 2024-01-03 21:23:07 +01:00
Robert Kaussow 713a72e034
chore: bump backoff to v4 (#77) 2023-12-05 15:25:37 +01:00
Robert Kaussow 2a7a54d18e
fix: use semver tag helper from plugin lib (#76)
BREAKING CHANGE: A strict semver method is now used to automatically generate tags. Git tags that are not strictly semver-compatible will be ignored.
2023-12-05 11:46:02 +01:00
Robert Kaussow a75fea4995
fix: ignore version metadata with auto_tag (#60) 2023-11-04 22:55:05 +01:00
Robert Kaussow deb92f29b2
fix: recreate cmd as it cannot be reused after calling run (#23) 2023-09-05 10:24:03 +02:00
Robert Kaussow 742af367bb
fix: only set max-concurrent-uploads if defined (#21) 2023-09-05 08:59:38 +02:00
Robert Kaussow b419036322
feat: add backoff retry to docker version to avoid transient failure (#19) 2023-09-04 20:56:19 +02:00
Robert Kaussow 787934288e
feat: add daemon option max-concurrent-uploads (#18) 2023-09-03 22:33:59 +02:00
Robert Kaussow 82e7c318f0
add tests for custom types (#13) 2023-08-21 11:35:52 +02:00
Robert Kaussow fdf9b22e08
refactor: rename parameter dockerfile to containerfile 2023-08-14 09:39:28 +02:00
Robert Kaussow f528612af5
refactor: initial commit after rewrite to woodpecker 2023-08-13 22:08:53 +02:00
Robert Kaussow 08408124c6
chore: revert multi-registry support (#311) 2023-08-11 10:10:32 +02:00
Robert Kaussow 0cc14f4114
refactor: use parameter list for multiple registries (#309) 2023-08-11 09:13:42 +02:00
Maxim Slipenko 13c17d9c3c
feat: Add ability to push to multiple registries (#303)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2023-08-09 11:35:58 +02:00
Grégoire Joncour 89db4c201e
fix: fix secrets format (#285) 2023-06-29 21:16:20 +02:00
Robert Kaussow c7c3ad6942
docs: add usage exaple for docker build secrets (#283) 2023-06-28 20:42:47 +02:00
Moein Nemati a572b72527
feat: add support for docker build secrets (#282) 2023-06-28 20:26:07 +02:00
Robert Kaussow f6ce6cca84
fix: use internal dns for docker if no default is set (#228) 2023-03-24 14:04:29 +01:00
Paulo Gomes cf1e48b342
feat: add support for SBOM attestation (#217)
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
2023-03-08 15:51:24 +01:00
Robert Kaussow 0688b1cf1a
refactor: add more linters and fix findings (#195) 2023-02-08 10:13:28 +01:00
Robert Kaussow 13e353b883
feat: add option to configure provenance attestation (#171) 2023-01-12 11:28:22 +01:00
Robert Kaussow f907bd038a
docs: fix buildkit config documentation (#166) 2023-01-08 14:41:49 +01:00
Robert Kaussow b302ea6f8c
chore: remove unused purge parameter (#147) 2022-11-01 14:04:49 +01:00
Robert Kaussow 248b7a5b77
fix: allow escaping of commas in plugin list options (#142) 2022-10-31 20:10:18 +01:00
Richard Jennings 0bd2634a1e
feat: add `extra_tags` option to set tags including additional registries (#134) 2022-10-09 14:05:05 +02:00
Richard Jennings 4171f3d711
feat: add option to support buildx --label flag (#132) 2022-09-20 21:35:29 +02:00
Martin Honermeyer d264446eb5
feat: add `cache_to` option and remove manual image pull for `cache_from` images (#124) 2022-08-08 13:36:23 +02:00
Robert Kaussow b08866cc0b
fix: add option to set additional build contexts (#116) 2022-07-24 12:48:02 +02:00
Robert Kaussow a893c63e5d
docs: refactor plugin properties 2022-06-02 21:48:53 +02:00
Robert Kaussow db4c4bee72
fix(deps): update module github.com/thegeeklab/drone-plugin-lib to v2 2022-06-02 15:00:33 +02:00
Robert Kaussow 768b061514
refactor: switch to forked thegeeklab/drone-plugin-lib (#94) 2022-05-03 22:47:51 +02:00
Robert Kaussow fef64f2b79
ci: refactor build tools and ci setup (#90) 2022-04-25 12:51:42 +02:00
Martin Honermeyer ee13dd891e
feat: add `output` option to set the export action for build results (#71) 2022-01-27 21:53:46 +01:00
Robert Kaussow 17016c9f49
fix: fix auto_tag behavior to avoid unexpected publishing (#68)
BREAKING CHANGE: `latest` has been removed from the default `tags` list, which is now empty. You must specify `auto_tag` or `tags` option, otherwise the plugin will build but __never__ tag and push the image.
2022-01-12 09:10:27 +01: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
Robert Kaussow 29f1707797
cleanup unused code 2021-07-03 15:09:12 +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