1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-22 21:31:28 +01:00

Improve build system

This commit is contained in:
Daniil Gentili 2023-05-29 15:31:01 +02:00
parent 2046b637fd
commit 6fbe53b446
2 changed files with 2 additions and 5 deletions

View File

@ -38,10 +38,7 @@ pipeline:
alias:
image: docker:cli
secrets: [docker_username, docker_password]
environment:
- DUSER=${docker_username}
- DPASS=${docker_password}
secrets: [duser, dpass]
commands:
- tests/alias.sh
when:

View File

@ -1,6 +1,6 @@
#!/bin/sh -e
docker login -p "$DUSER" -u "$DPASS"
docker login -p "$dpass" -u "$duser"
docker pull danog/madelineproto:next-debian
docker tag danog/madelineproto:next-debian danog/madelineproto:next
docker push danog/madelineproto:next