Publish to Docker-Hub and Codeberg (#28)
Retry of #27 Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/28 Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org> Reviewed-by: Lauris BH <lafriks@noreply.codeberg.org> Co-authored-by: 6543 <6543@obermui.de> Co-committed-by: 6543 <6543@obermui.de>
This commit is contained in:
parent
fca44ab7ae
commit
2ad93d24fe
@ -13,6 +13,7 @@ pipeline:
|
|||||||
|
|
||||||
publish-dryrun:
|
publish-dryrun:
|
||||||
image: woodpeckerci/plugin-docker-buildx:1.0
|
image: woodpeckerci/plugin-docker-buildx:1.0
|
||||||
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
platforms: *platforms
|
platforms: *platforms
|
||||||
repo: woodpeckerci/plugin-docker-buildx
|
repo: woodpeckerci/plugin-docker-buildx
|
||||||
@ -26,13 +27,23 @@ 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:
|
||||||
|
# Default DockerHub login
|
||||||
|
- 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
|
||||||
|
# Additional Codeberg login
|
||||||
|
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user