Join both builds
This commit is contained in:
parent
cef8ee775e
commit
0963e34707
|
@ -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]
|
||||
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
|
Loading…
Reference in a new issue