36 lines
837 B
YAML
36 lines
837 B
YAML
steps:
|
|
build-bot:
|
|
secrets: [docker_username, docker_password]
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
context: bot
|
|
dockerfile: bot/Dockerfile
|
|
repo: dentaku/vollmond-bot
|
|
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 |