Thomas Renger
34c5188bd1
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
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.2
|
|
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.1
|
|
auto-tag: true
|
|
platforms: [linux/amd64, linux/arm64]
|
|
when:
|
|
- event: push
|
|
path:
|
|
include: [ 'wwwroot/**', 'Dockerfile' ]
|
|
- event: cron
|
|
- event: manual |