1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 09:58:59 +01:00
MadelineProto/.woodpecker/.build-docker.yml
2023-05-28 19:41:46 +02:00

46 lines
911 B
YAML

matrix:
variant:
- "debian"
- "alpine"
platform:
- linux/arm64
clone:
git:
when:
event:
- tag
- push
image: woodpeckerci/plugin-git:v1.5.0
settings:
depth: 1
lfs: false
recursive: false
tags: true
pipeline:
docker:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
settings:
repo: danog/madelineproto
dockerfile: "tests/dockerfiles/Dockerfile.${variant}"
platforms: ${platform}
tag: next-${variant}
when:
event:
- tag
- push
docker-next:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
settings:
repo: danog/madelineproto
dockerfile: "tests/dockerfiles/Dockerfile.alpine"
platforms: ${platform}
tag: next
when:
event:
- tag
- push