Updated Dockerfiles to use second container for bot updates

This commit is contained in:
2022-04-25 17:05:21 +02:00
parent 78dfde7a86
commit 566470ec12
4 changed files with 38 additions and 8 deletions

View File

@@ -39,7 +39,24 @@ pipeline:
from_secret: password
registry:
from_secret: registry
dockerfile: telegram_bot/Dockerfile
dockerfile: telegram_bot/Dockerfile.bot
platforms: linux/amd64
when:
path: "telegram_bot/**"
event: push
build_bot_updates:
image: woodpeckerci/plugin-docker-buildx
settings:
repo:
from_secret: repo_bot_updates
username:
from_secret: username
password:
from_secret: password
registry:
from_secret: registry
dockerfile: telegram_bot/Dockerfile.updates
platforms: linux/amd64
when:
path: "telegram_bot/**"