From 97917ac4b9bf1fc1e24e1a766bc3e57dda12f8cc Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 10 Oct 2022 18:37:40 +0200 Subject: [PATCH] Publish to Docker-Hub and Codeberg (#27) Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/27 Reviewed-by: anbraten --- .woodpecker.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 689d589..ce61f4b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -26,13 +26,21 @@ pipeline: image: woodpeckerci/plugin-docker-buildx:1.0 settings: platforms: *platforms - repo: woodpeckerci/plugin-docker-buildx + repo: woodpeckerci/plugin-docker-buildx,codeberg.org/woodpecker-plugins/docker-buildx auto_tag: true dockerfile: Dockerfile.multiarch - username: - from_secret: docker_username - password: - from_secret: docker_password + logins: + - registry: https://index.docker.io/v1/ + username: + from_secret: docker_username + password: + from_secret: docker_password + - registry: https://codeberg.org + username: + from_secret: cb_username + password: + from_secret: cb_password + when: event: [push, tag, cron] branch: main