2024-09-07 15:47:01 +00:00
|
|
|
steps:
|
|
|
|
build-bot:
|
2023-01-10 14:08:28 +00:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
2024-09-10 06:33:32 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2024-08-28 19:45:31 +00:00
|
|
|
context: bot
|
2024-08-28 19:51:17 +00:00
|
|
|
dockerfile: bot/Dockerfile
|
2024-08-28 19:45:31 +00:00
|
|
|
repo: dentaku/vollmond-bot
|
2024-09-07 15:47:01 +00:00
|
|
|
tags:
|
|
|
|
- latest
|
|
|
|
- v0.1
|
2023-09-23 12:22:51 +00:00
|
|
|
auto-tag: true
|
2024-09-07 15:47:01 +00:00
|
|
|
platforms: [linux/amd64, linux/arm64]
|
|
|
|
when:
|
|
|
|
- event: push
|
|
|
|
path:
|
|
|
|
include: [ 'bot/**' ]
|
|
|
|
- event: cron
|
|
|
|
- event: manual
|
|
|
|
|
|
|
|
build-webpage:
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
2024-09-10 06:33:32 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2024-09-07 15:47:01 +00:00
|
|
|
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
|