diff --git a/.woodpecker/.build-docker.yml b/.woodpecker/.build-docker.yml index 039a2a3f0..e8e5e34d8 100644 --- a/.woodpecker/.build-docker.yml +++ b/.woodpecker/.build-docker.yml @@ -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: diff --git a/tests/alias.sh b/tests/alias.sh index d4e270ad0..fdca04218 100755 --- a/tests/alias.sh +++ b/tests/alias.sh @@ -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