vollmond/.woodpecker/docker.yml
Thomas Renger de9c3a881c
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/manual/docker Pipeline was successful
Secrets may not be passed as environment variables anymore.
2024-09-10 08:33:32 +02:00

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