1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 08:18:59 +01:00
MadelineProto/.woodpecker/.build-docker.yml

84 lines
1.9 KiB
YAML
Raw Normal View History

2023-05-28 19:11:30 +02:00
matrix:
2023-05-28 19:41:46 +02:00
variant:
- "debian"
- "alpine"
2023-05-28 19:11:30 +02:00
platform:
- linux/arm64
2023-05-28 22:00:07 +02:00
platform: ${platform}
2023-05-28 19:11:30 +02:00
clone:
git:
when:
event:
- tag
- push
image: woodpeckerci/plugin-git:v1.5.0
settings:
depth: 1
lfs: false
recursive: false
tags: true
pipeline:
2023-05-29 21:23:23 +02:00
variants:
2023-05-28 19:11:30 +02:00
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
settings:
repo: danog/madelineproto
2023-05-28 19:41:46 +02:00
dockerfile: "tests/dockerfiles/Dockerfile.${variant}"
2023-05-28 19:11:30 +02:00
platforms: ${platform}
2023-05-28 19:41:46 +02:00
tag: next-${variant}
2023-05-28 20:25:29 +02:00
cache_from: danog/madelineproto:next-${variant}
2023-05-28 21:56:37 +02:00
cache_to: type=inline
2023-05-28 19:11:30 +02:00
when:
2023-05-28 19:23:46 +02:00
event:
- tag
- push
2023-05-29 21:23:23 +02:00
variants-tag:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
settings:
repo: danog/madelineproto
dockerfile: "tests/dockerfiles/Dockerfile.${variant}"
platforms: ${platform}
tag: ${variant}
cache_from: danog/madelineproto:next-${variant}
cache_to: type=inline
when:
event:
- tag
2023-05-29 15:17:58 +02:00
2023-05-29 15:10:42 +02:00
alias:
2023-05-29 21:23:23 +02:00
image: woodpeckerci/plugin-docker-buildx
2023-05-29 21:02:13 +02:00
secrets: [docker_username, docker_password]
2023-05-29 21:23:23 +02:00
settings:
repo: danog/madelineproto
dockerfile: "tests/dockerfiles/Dockerfile.debian"
platforms: ${platform}
tag: next
2023-05-29 21:29:57 +02:00
cache_from: danog/madelineproto:next-${variant}
2023-05-29 21:23:23 +02:00
cache_to: type=inline
2023-05-29 15:10:42 +02:00
when:
event:
- tag
- push
2023-05-29 21:29:57 +02:00
matrix:
variant: "debian"
2023-05-29 21:23:23 +02:00
alias-tag:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
settings:
repo: danog/madelineproto
dockerfile: "tests/dockerfiles/Dockerfile.debian"
platforms: ${platform}
tag: latest
2023-05-29 21:29:57 +02:00
cache_from: danog/madelineproto:next-${variant}
2023-05-29 21:23:23 +02:00
cache_to: type=inline
when:
event:
- tag
2023-05-29 21:29:57 +02:00
matrix:
variant: "debian"