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:
parent
e951aa3b03
commit
2046b637fd
@ -35,7 +35,7 @@ pipeline:
|
||||
event:
|
||||
- tag
|
||||
- push
|
||||
|
||||
|
||||
alias:
|
||||
image: docker:cli
|
||||
secrets: [docker_username, docker_password]
|
||||
@ -43,10 +43,7 @@ pipeline:
|
||||
- DUSER=${docker_username}
|
||||
- DPASS=${docker_password}
|
||||
commands:
|
||||
- docker login -p "$DUSER" -u "$DPASS"
|
||||
- docker pull danog/madelineproto:next-debian
|
||||
- docker tag danog/madelineproto:next-debian danog/madelineproto:next
|
||||
- docker push danog/madelineproto:next
|
||||
- tests/alias.sh
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit 3a06041168b8d69b31e5de5c555d3c89a9042f6b
|
||||
Subproject commit 67fdacb69e30b7a30619a1320ec8e2bef0966fd9
|
6
tests/alias.sh
Executable file
6
tests/alias.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
docker login -p "$DUSER" -u "$DPASS"
|
||||
docker pull danog/madelineproto:next-debian
|
||||
docker tag danog/madelineproto:next-debian danog/madelineproto:next
|
||||
docker push danog/madelineproto:next
|
Loading…
x
Reference in New Issue
Block a user