humble-bot/.woodpecker/docker-build.yaml

30 lines
776 B
YAML
Raw Normal View History

2023-07-06 07:16:11 +02:00
steps:
docker-deploy-push:
when:
- event: push
branch: main
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
2023-07-07 08:33:32 +02:00
repo: git.lauka.net/lauralani/humble-bot
2023-07-06 07:16:11 +02:00
registry: codeberg.org
tags: latest
username: lauralani
password:
from_secret: FORGEJO_APIKEY
docker-deploy-tag:
when:
event:
- tag
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
2023-07-07 08:33:32 +02:00
repo: git.lauka.net/lauralani/humble-bot
2023-07-06 07:16:11 +02:00
registry: codeberg.org
auto_tag: true
username: lauralani
password:
from_secret: FORGEJO_APIKEY