Skip to content

Commit

Permalink
Improve build system
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed May 29, 2023
1 parent 2046b63 commit 6fbe53b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .woodpecker/.build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tests/alias.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6fbe53b

Please sign in to comment.