42 lines
953 B
YAML
42 lines
953 B
YAML
steps:
|
|
build-bot:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
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:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
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 |