Commit Graph
11 Commits
Author SHA1 Message Date
6543 97917ac4b9 Publish to Docker-Hub and Codeberg (#27)
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/27
Reviewed-by: anbraten <anbraten@noreply.codeberg.org>
2022-10-10 18:37:40 +02:00
6543 f9c1b35f59 ci: build with stable version 2022-10-08 16:29:10 +02:00
6543 c0d9178b4b fix tag pipeline
looks like global branches filter does filter tags :/
2022-10-08 16:18:12 +02: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 a7117600aa CI: add test (#26)
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/26
Reviewed-by: anbraten <anbraten@noreply.codeberg.org>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
2022-10-08 15:32:14 +02:00
6543 b85ee124e2 Ensure that the plugin binary does not conflict with the utility being used (#24)
use methode described in https://docs.docker.com/build/buildx/install/ to install buildx into image.
- `/usr/lib/docker/cli-plugins/docker-buildx` -> `/usr/libexec/docker/cli-plugins/docker-buildx`
- fix linux/amd64 build on linux/arm64

rename plugin binary
- `docker-buildx` -> `plugin-docker-buildx`

Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/24
Reviewed-by: anbraten <anbraten@noreply.codeberg.org>
2022-10-08 00:58:57 +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
6543 06d32b13a5 ingore empty string tags 2022-09-28 03:25:04 +02:00
6543 9a1c38c979 use auto_tag 2022-09-28 03:17:55 +02:00
6543 4add961b4c Publish arm image too (#21)
base image (https://hub.docker.com/_/docker/tags?page=1&name=20.10-dind) do support amd64 and arm64

so we can do too

Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/21
2022-09-28 03:12:21 +02:00
6543 ddf80c66d6 clean & refactor (#20)
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/20
2022-09-28 02:22:04 +02:00