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>
This commit is contained in:
6543 2022-10-10 18:37:40 +02:00
parent f9c1b35f59
commit 97917ac4b9

View File

@ -26,13 +26,21 @@ pipeline:
image: woodpeckerci/plugin-docker-buildx:1.0 image: woodpeckerci/plugin-docker-buildx:1.0
settings: settings:
platforms: *platforms platforms: *platforms
repo: woodpeckerci/plugin-docker-buildx repo: woodpeckerci/plugin-docker-buildx,codeberg.org/woodpecker-plugins/docker-buildx
auto_tag: true auto_tag: true
dockerfile: Dockerfile.multiarch dockerfile: Dockerfile.multiarch
logins:
- registry: https://index.docker.io/v1/
username: username:
from_secret: docker_username from_secret: docker_username
password: password:
from_secret: docker_password from_secret: docker_password
- registry: https://codeberg.org
username:
from_secret: cb_username
password:
from_secret: cb_password
when: when:
event: [push, tag, cron] event: [push, tag, cron]
branch: main branch: main