1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 21:14:43 +01:00

Improve build

This commit is contained in:
Daniil Gentili 2023-05-29 21:29:57 +02:00
parent 9c7e012439
commit 2135deb406
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -58,12 +58,14 @@ pipeline:
dockerfile: "tests/dockerfiles/Dockerfile.debian"
platforms: ${platform}
tag: next
cache_from: danog/madelineproto:next-debian
cache_from: danog/madelineproto:next-${variant}
cache_to: type=inline
when:
event:
- tag
- push
matrix:
variant: "debian"
alias-tag:
image: woodpeckerci/plugin-docker-buildx
@ -73,8 +75,10 @@ pipeline:
dockerfile: "tests/dockerfiles/Dockerfile.debian"
platforms: ${platform}
tag: latest
cache_from: danog/madelineproto:next-debian
cache_from: danog/madelineproto:next-${variant}
cache_to: type=inline
when:
event:
- tag
matrix:
variant: "debian"