Commit graph

566 commits

Author SHA1 Message Date
pat-s e93554e4bc feat: add support for AWS ECR (#110)
fix #74

Mainly borrowed from https://github.com/drone-plugins/drone-docker/tree/master/cmd/drone-ecr.

`drone/ecr` is still on 20.10.14 and sparsely updated/maintained. Would be great to add support for additional registries like ECR to buildx.
The login process is as follows:

1. Call the AWS API with some arguments to get a short-lived auth token (12h)
2. Use the token and Username `AWS` for the `docker login` call

## Notes

- To push to ECR, the full registry URL must be given in the tag, i.e. `registry/owner/repo`. For this, `Registry` must also be added the to `Build` struct besides the `Settings` struct
- For now I've only referenced the source in `ecr.go` by using the most recent commit of today. Should this be done differently?
- The implementation here from me is simple and probably a bit "naive" as this is my first "real" golang feature PR.
- I've tested this change with a custom image and was able to successfully push to ECR while dynamically creating a repository. Proper tests would still be great...
- Vars `assumeRole` and `externalID` are somehow not exposed in https://plugins.drone.io/plugins/ecr and I am not sure if this is by design or because they were just forgotten. Anyhow, this is reason I didn't expose them for now and just added internal dummy vars.
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-12-29 22:06:37 +00:00
woodpecker-bot cb851be7df fix(deps): update module github.com/urfave/cli/v2 to v2.27.0 2023-12-27 00:09:24 +00:00
woodpecker-bot a5864fb416 fix(deps): update module github.com/urfave/cli/v2 to v2.26.0 (#114)
Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Co-committed-by: woodpecker-bot <woodpecker-bot@obermui.de>
2023-12-04 00:20:44 +00:00
woodpecker-bot 75f4ccee62 fix(deps): update module github.com/drone-plugins/drone-plugin-lib to v0.4.2 2023-11-23 00:09:54 +00:00
pat-s aaad385133
run testst on renovate/* branches 2023-11-22 12:57:40 +01:00
woodpecker-bot dd7bec809c chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v2.2.1 (#112)
Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Co-committed-by: woodpecker-bot <woodpecker-bot@obermui.de>
2023-11-21 00:15:54 +00:00
pat-s d771a60d94
pin docker version on patch level 2023-11-19 13:28:17 +01:00
woodpecker-bot 43d3ea541b chore(deps): update docker/buildx-bin docker tag to v0.12.0 (#111)
Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Co-committed-by: woodpecker-bot <woodpecker-bot@obermui.de>
2023-11-19 00:31:29 +00:00
pat-s da8571c718 Add git to image (#109)
Current runs of the plugin output the following

```
WARNING: buildx: git was not found in the system. Current commit information was not captured by the build
```

adding `git` should solve this.

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/109
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-11-08 02:42:05 +00:00
pat-s 21518998d8
remove sha tags 2023-11-03 07:41:43 +01:00
Thomas Renes 4c119d46fc Fix separator for tags_file in docs (#107)
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>
2023-11-01 10:32:01 +00:00
pat-s 5116f6263f
renovate: use org config 2023-10-30 09:33:19 +01:00
woodpecker-bot b71ce15f17 chore(docker): update docker:24.0-dind docker digest to 1dfc375 (#106)
Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Co-committed-by: woodpecker-bot <woodpecker-bot@obermui.de>
2023-10-30 00:15:18 +00:00
woodpecker-bot 3d64e92383 chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v2.2.0 (#102)
Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Co-committed-by: woodpecker-bot <woodpecker-bot@obermui.de>
2023-10-25 10:45:16 +00:00
pat-s e29bb19c9d
add gitea release plugin 2023-10-25 12:31:29 +02:00
OCram85 a0371f8850 adds driver-opt arg as plugin parameter (#93)
#### 📖 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>
2023-10-25 09:58:02 +00:00
woodpecker-bot c8fa946f16 chore(deps): update docker docker tag to v24 (#99)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| docker | final | major | `20.10-dind` -> `24.0-dind` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - "before 4am" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMzEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: woodpecker-bot <woodpecker-bot@codeberg.ci>
Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/99
Co-authored-by: woodpecker-bot <woodpecker-bot@noreply.codeberg.org>
Co-committed-by: woodpecker-bot <woodpecker-bot@noreply.codeberg.org>
2023-10-23 14:28:30 +00:00
woodpecker-bot b518543505 fix(deps): update module codeberg.org/6543/go-yaml2json to v1 (#100) 2023-10-23 14:12:09 +00:00
woodpecker-bot 204732bf49 fix(deps): update module github.com/stretchr/testify to v1.8.4 (#98) 2023-10-23 12:06:22 +00:00
woodpecker-bot db0f4f02d8 fix(deps): update module github.com/sirupsen/logrus to v1.9.3 (#97) 2023-10-23 12:02:41 +00:00
woodpecker-bot 4bc7de4d63 fix(deps): update module github.com/drone-plugins/drone-plugin-lib to v0.4.1 (#96)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/drone-plugins/drone-plugin-lib](https://github.com/drone-plugins/drone-plugin-lib) | require | patch | `v0.4.0` -> `v0.4.1` |

---

### Release Notes

<details>
<summary>drone-plugins/drone-plugin-lib (github.com/drone-plugins/drone-plugin-lib)</summary>

### [`v0.4.1`](https://github.com/drone-plugins/drone-plugin-lib/compare/v0.4.0...v0.4.1)

[Compare Source](https://github.com/drone-plugins/drone-plugin-lib/compare/v0.4.0...v0.4.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS4xIiwidXBkYXRlZEluVmVyIjoiMzcuMzEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: Woodpecker Bot <woodpecker-bot@codeberg.ci>
Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/96
Co-authored-by: woodpecker-bot <woodpecker-bot@noreply.codeberg.org>
Co-committed-by: woodpecker-bot <woodpecker-bot@noreply.codeberg.org>
2023-10-23 11:31:58 +00:00
woodpecker-bot 24efab297a chore(deps): pin docker docker tag to af96c68 (#95) 2023-10-23 00:10:15 +00:00
pat-s 44a3791a87
update README 2023-10-19 16:50:20 +02:00
Patrick Schratz b6077f0500 fix(deps): update module honnef.co/go/tools to v0.4.6 2023-10-17 18:00:49 +00:00
lonix 6e50b742e6 docs: update info for tags_file setting (#75)
- 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>
2023-10-17 17:21:35 +00:00
pat-s aea2a7d740 No duplicate workflow runs (#92)
Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/92
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-10-17 17:03:54 +00:00
Patrick Schratz 6e08c19e98 chore(deps): update docker/buildx-bin docker tag to v0.11.2 (#85)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [docker/buildx-bin](https://github.com/docker/buildx) | stage | patch | `0.11.0` -> `0.11.2` |

---

### Release Notes

<details>
<summary>docker/buildx (docker/buildx-bin)</summary>

### [`v0.11.2`](https://github.com/docker/buildx/releases/tag/v0.11.2)

[Compare Source](https://github.com/docker/buildx/compare/v0.11.1...v0.11.2)

Welcome to the v0.11.2 release of buildx!

Please try out the release binaries and report any issues at https://github.com/docker/buildx/issues.

##### Contributors

-   [Justin Chadwell](https://github.com/jedevc)
-   [CrazyMax](https://github.com/crazy-max)
-   [Sebastiaan van Stijn](https://github.com/thaJeztah)

##### Changes

-   Fix a regression that caused buildx to not read the `KUBECONFIG` path from the instance store [#&#8203;1941](https://github.com/docker/buildx/issues/1941)
-   Fix a regression with result handle builds showing up in the build history incorrectly [#&#8203;1954](https://github.com/docker/buildx/issues/1954)

##### Dependency Changes

-   **github.com/docker/docker**          v24.0.2 -> [`36e9e79`](https://github.com/docker/buildx/commit/36e9e796c6fc)
-   **github.com/moby/buildkit**          [`67a0862`](https://github.com/docker/buildx/commit/67a08623b95a) -> [`faa0cc7`](https://github.com/docker/buildx/commit/faa0cc7da353)
-   **github.com/tonistiigi/fsutil**      [`9e7a6df`](https://github.com/docker/buildx/commit/9e7a6df48576) -> [`36ef4d8`](https://github.com/docker/buildx/commit/36ef4d8c0dbb)
-   **github.com/xeipuuv/gojsonpointer**  [`4e3ac27`](https://github.com/docker/buildx/commit/4e3ac2762d5f) -> [`02993c4`](https://github.com/docker/buildx/commit/02993c407bfb)

Previous release can be found at [v0.11.1](https://github.com/docker/buildx/releases/tag/v0.11.1)

### [`v0.11.1`](https://github.com/docker/buildx/releases/tag/v0.11.1)

[Compare Source](https://github.com/docker/buildx/compare/v0.11.0...v0.11.1)

Welcome to the v0.11.1 release of buildx!

Please try out the release binaries and report any issues at https://github.com/docker/buildx/issues.

##### Contributors

-   [CrazyMax](https://github.com/crazy-max)
-   [Justin Chadwell](https://github.com/jedevc)
-   [David Karlsson](https://github.com/dvdksn)
-   [Jhan S. Álvarez](https://github.com/yastanotheruser)

##### Changes

-   Fix a regression for bake where services in profiles would not be loaded. [#&#8203;1903](https://github.com/docker/buildx/issues/1903)

-   Fix a regression where `--cgroup-parent` option had no effect during build. [#&#8203;1913](https://github.com/docker/buildx/issues/1913)

-   Fix a regression where valid docker contexts could fail buildx builder name validation. [#&#8203;1879](https://github.com/docker/buildx/issues/1879)

-   Fix an issue where the `host-gateway` special address could not be used as an argument to `--add-host`. [#&#8203;1894](https://github.com/docker/buildx/issues/1894) (also requires https://github.com/moby/moby/pull/45767)

-   Fix a possible panic when terminal is resized during the build. [#&#8203;1929](https://github.com/docker/buildx/issues/1929)

##### Dependency Changes

-   **github.com/docker/cli-docs-tool**  v0.5.1 -> v0.6.0

Previous release can be found at [v0.11.0](https://github.com/docker/buildx/releases/tag/v0.11.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

��� **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMy4wIiwidXBkYXRlZEluVmVyIjoiMzcuMjQuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/85
Co-authored-by: Patrick Schratz <pat-s@mailbox.org>
Co-committed-by: Patrick Schratz <pat-s@mailbox.org>
2023-10-17 16:10:03 +00:00
Patrick Schratz c539c9e8a9 chore(deps): update golang docker tag to v1.21 (#89)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| golang |  | minor | `1.20` -> `1.21` |
| golang | stage | minor | `1.20` -> `1.21` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNC4wIiwidXBkYXRlZEluVmVyIjoiMzcuMjQuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/89
2023-10-17 15:49:27 +00:00
Patrick Schratz cfb24b5c90 fix(deps): update module github.com/joho/godotenv to v1.5.1 (#90)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/joho/godotenv](https://github.com/joho/godotenv) | require | minor | `v1.4.0` -> `v1.5.1` |

>  **Important**
>
> Release Notes retrieval for this PR were skipped because no github.com credentials were available.
> If you are self-hosted, please see [this instruction](https://github.com/renovatebot/renovate/blob/master/docs/usage/examples/self-hosting.md#githubcom-token-for-release-notes).

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNi4wIiwidXBkYXRlZEluVmVyIjoiMzcuMjYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/90
2023-10-17 15:43:22 +00:00
Patrick Schratz 9da535bc03 fix(deps): update module github.com/urfave/cli/v2 to v2.25.7 (#91)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/urfave/cli/v2](https://github.com/urfave/cli) | require | minor | `v2.16.3` -> `v2.25.7` |

>  **Important**
>
> Release Notes retrieval for this PR were skipped because no github.com credentials were available.
> If you are self-hosted, please see [this instruction](https://github.com/renovatebot/renovate/blob/master/docs/usage/examples/self-hosting.md#githubcom-token-for-release-notes).

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNi4wIiwidXBkYXRlZEluVmVyIjoiMzcuMjYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/91
Co-authored-by: Patrick Schratz <pat-s@mailbox.org>
Co-committed-by: Patrick Schratz <pat-s@mailbox.org>
2023-10-17 15:39:40 +00:00
qwerty287 0f0aba7f82 Allow to load env file (#80)
closes https://codeberg.org/woodpecker-plugins/docker-buildx/issues/34

Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/80
Reviewed-by: anbraten <anbraten@noreply.codeberg.org>
Co-authored-by: qwerty287 <ndev@web.de>
Co-committed-by: qwerty287 <ndev@web.de>
2023-10-08 08:49:51 +00:00
6543 c35b2e1ae9
update pipeline to meet v1.0.0 standard 2023-07-31 04:36:36 +02:00
Lauris BH 051ea11a5c bump buildx to v0.11.0 (#66)
- use buildx [v0.11.0](https://github.com/docker/buildx/releases/tag/v0.11.0)

Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/66
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lafriks@noreply.codeberg.org>
Co-committed-by: Lauris BH <lafriks@noreply.codeberg.org>
2023-06-27 13:57:45 +00:00
6543 37718ded77 Add option to overwrites tags option with values specified in an file (#62)
Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/62
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2023-05-02 19:25:49 +00:00
6543 a5ea4573b0 CI: use new yaml syntax (#61)
Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/61
2023-04-30 13:21:32 +00:00
6543 2a8de61424 Fix link to "full documentation" 2023-04-29 14:40:01 +00:00
6543 33b6eb4faa bump buildx and golang (#58)
- use golang v1.20
- use buildx v0.10.4
  (to have buildkit v0.11.2)

Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/58
Reviewed-by: Lauris BH <lafriks@noreply.codeberg.org>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
2023-03-22 15:26:29 +00:00
jolheiser ee3adee4d4 Fix README wording (#57)
Removes a redundant sentence and some duplicated text.

Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/57
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: jolheiser <jolheiser@noreply.codeberg.org>
Co-committed-by: jolheiser <jolheiser@noreply.codeberg.org>
2023-03-19 01:27:00 +00:00
6543 38b9f475bb codeberg plugin images dont need prefix (#54)
Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/54
Reviewed-by: jolheiser <jolheiser@noreply.codeberg.org>
2023-01-10 15:01:05 +00:00
6543 8243640a5d
ci: pin own build version to latest majour version 2022-12-23 17:33:24 +01:00
6543 fc4f0ea0a5
ci: bump own latest version for build 2022-12-23 17:28:58 +01:00
6543 ccd5834d4c Enhance SemVersion detection (#52)
close #51

Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/52
Reviewed-by: Lauris BH <lafriks@noreply.codeberg.org>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
2022-12-21 17:11:09 +00:00
Lauris BH 186b87cf88 Fix auto tag generating tags with wrong suffix (#48)
currently `auto_tag` would generate tags like: `1-latest`, `1.0-latest` etc

Co-authored-by: Lauris BH <lauris@nix.lv>
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/48
Reviewed-by: anbraten <anbraten@noreply.codeberg.org>
2022-12-09 10:53:49 +00:00
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
Lauris BH a2d26878e7 Add internal DNS server if no custom DNS is set (#45)
Fixes #44

Co-authored-by: Lauris BH <lauris@nix.lv>
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/45
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-11-23 14:01:45 +00:00
Loïc Dachary 8a70e48182 fix typo in docs (#39)
Signed-off-by: Loïc Dachary <loic@dachary.org>
Co-authored-by: Loïc Dachary <loic@dachary.org>
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/39
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Loïc Dachary <dachary@noreply.codeberg.org>
Co-committed-by: Loïc Dachary <dachary@noreply.codeberg.org>
2022-11-10 15:01:35 +01:00
6543 ca6adcf472
ci: bump own latest version for build 2022-11-06 20:18:45 +01:00
6543 37b5e2ed2d
Add changelog tool config
https://gitea.com/gitea/changelog
2022-11-06 14:43:33 +01:00
6543 d17ff57fda Document auto_tag behaviour more explicite (#37)
close #31

Co-authored-by: Lauris BH <lafriks@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/37
Reviewed-by: Lauris BH <lafriks@noreply.codeberg.org>
2022-11-06 14:29:57 +01:00
6543 57b0ae23c2 Remove "default_tags" as it's too similar to "default_tag" (#38)
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/38
Reviewed-by: Lauris BH <lafriks@noreply.codeberg.org>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
2022-11-06 13:10:00 +01:00