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

Refactor tests

This commit is contained in:
Daniil Gentili 2023-05-28 20:45:51 +02:00
parent cdf710a1db
commit a08bfd1f72
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 5 additions and 14 deletions

View File

@ -37,7 +37,7 @@ pipeline:
image: docker:cli
secrets: [docker_username, docker_password]
commands:
- docker login -u "$docker_username" -p "$docker_password"
- echo "$docker_password" | docker login -u "$docker_username" --password-stdin
- docker pull danog/madelineproto:next-alpine
- docker tag danog/madelineproto:next-alpine danog/madelineproto:next
- docker push danog/madelineproto:next

View File

@ -2,30 +2,21 @@ matrix:
platform:
- linux/arm64
clone:
git:
when:
event:
- tag
image: woodpeckerci/plugin-git:v1.5.0
settings:
depth: 1
lfs: false
recursive: false
tags: true
pipeline:
alias:
image: docker:cli
secrets: [docker_username, docker_password]
commands:
- docker login -u "$docker_username" -p "$docker_password"
- echo "$docker_password" | docker login -u "$docker_username" --password-stdin
- docker pull danog/madelineproto:next-alpine
- docker pull danog/madelineproto:next-debian
- docker pull danog/madelineproto:next
- docker tag danog/madelineproto:next-alpine danog/madelineproto:alpine
- docker tag danog/madelineproto:next-debian danog/madelineproto:debian
- docker tag danog/madelineproto:next danog/madelineproto:latest
- docker push danog/madelineproto:alpine
- docker push danog/madelineproto:debian
- docker push danog/madelineproto:latest
when:
event:
- tag