mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 06:59:01 +01:00
Refactor tests
This commit is contained in:
parent
94548afa3f
commit
b4e571478e
@ -19,7 +19,7 @@ clone:
|
||||
tags: true
|
||||
|
||||
pipeline:
|
||||
docker:
|
||||
build:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
secrets: [docker_username, docker_password]
|
||||
settings:
|
||||
@ -32,14 +32,14 @@ pipeline:
|
||||
- tag
|
||||
- push
|
||||
|
||||
docker-next:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
alias:
|
||||
image: docker:cli
|
||||
secrets: [docker_username, docker_password]
|
||||
settings:
|
||||
repo: danog/madelineproto
|
||||
dockerfile: "tests/dockerfiles/Dockerfile.alpine"
|
||||
platforms: ${platform}
|
||||
tag: next
|
||||
commands:
|
||||
- docker login -u "$docker_username" -p "$docker_password"
|
||||
- docker pull danog/madelineproto:next-alpine
|
||||
- docker tag danog/madelineproto:next-alpine danog/madelineproto:next
|
||||
- docker push danog/madelineproto:next
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
@ -18,7 +18,7 @@ clone:
|
||||
tags: true
|
||||
|
||||
pipeline:
|
||||
docker:
|
||||
build:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
secrets: [docker_username, docker_password]
|
||||
settings:
|
||||
@ -30,14 +30,15 @@ pipeline:
|
||||
event:
|
||||
- tag
|
||||
|
||||
docker-latest:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
alias:
|
||||
image: docker:cli
|
||||
secrets: [docker_username, docker_password]
|
||||
settings:
|
||||
repo: danog/madelineproto
|
||||
dockerfile: "tests/dockerfiles/Dockerfile.alpine"
|
||||
platforms: ${platform}
|
||||
tag: latest
|
||||
commands:
|
||||
- docker login -u "$docker_username" -p "$docker_password"
|
||||
- docker pull danog/madelineproto:latest-alpine
|
||||
- docker tag danog/madelineproto:latest-alpine danog/madelineproto:latest
|
||||
- docker push danog/madelineproto:latest
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
- tag
|
||||
- push
|
Loading…
Reference in New Issue
Block a user