Join both builds
Some checks failed
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/manual/docker Pipeline failed

This commit is contained in:
Thomas Renger 2024-09-07 17:47:01 +02:00
parent cef8ee775e
commit 0963e34707

View file

@ -1,11 +1,36 @@
pipeline:
docker-build:
steps:
build-bot:
secrets: [docker_username, docker_password]
image: woodpeckerci/plugin-docker-buildx
settings:
context: bot
dockerfile: bot/Dockerfile
repo: dentaku/vollmond-bot
tag: latest
tags:
- latest
- v0.1
auto-tag: true
platforms: [linux/amd64, linux/arm64]
when:
- event: push
path:
include: [ 'bot/**' ]
- event: cron
- event: manual
build-webpage:
secrets: [docker_username, docker_password]
image: woodpeckerci/plugin-docker-buildx
settings:
repo: dentaku/vollmond
tags:
- latest
- v1.0
auto-tag: true
platforms: [linux/amd64, linux/arm64]
when:
- event: push
path:
include: [ 'wwwroot/**', 'Dockerfile' ]
- event: cron
- event: manual