mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 22:14:39 +01:00
46 lines
917 B
YAML
46 lines
917 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: latest-${variant}
|
|
when:
|
|
event:
|
|
- tag
|
|
- push
|
|
|
|
docker-latest:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
secrets: [docker_username, docker_password]
|
|
settings:
|
|
repo: danog/madelineproto
|
|
dockerfile: "tests/dockerfiles/Dockerfile.alpine"
|
|
platforms: ${platform}
|
|
tag: latest
|
|
when:
|
|
event:
|
|
- tag
|
|
- push |