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

30 lines
774 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-06 07:17:25 +02:00
repo: codeberg.org/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
repo: codeberg.org/lauralani/humble-bot
registry: codeberg.org
auto_tag: true
username: lauralani
password:
from_secret: FORGEJO_APIKEY