diff --git a/.woodpecker/.build-docker.yml b/.woodpecker/.build-docker.yml index 38de958ba..5de10d9b0 100644 --- a/.woodpecker/.build-docker.yml +++ b/.woodpecker/.build-docker.yml @@ -37,7 +37,7 @@ pipeline: image: docker:cli secrets: [docker_username, docker_password] commands: - - docker login -u "$docker_username" -p "$docker_password" + - echo "$docker_password" | docker login -u "$docker_username" --password-stdin - docker pull danog/madelineproto:next-alpine - docker tag danog/madelineproto:next-alpine danog/madelineproto:next - docker push danog/madelineproto:next diff --git a/.woodpecker/.deploy-docker.yml b/.woodpecker/.deploy-docker.yml index f914be963..dce7bb099 100644 --- a/.woodpecker/.deploy-docker.yml +++ b/.woodpecker/.deploy-docker.yml @@ -2,30 +2,21 @@ matrix: platform: - linux/arm64 -clone: - git: - when: - event: - - tag - image: woodpeckerci/plugin-git:v1.5.0 - settings: - depth: 1 - lfs: false - recursive: false - tags: true - pipeline: alias: image: docker:cli secrets: [docker_username, docker_password] commands: - - docker login -u "$docker_username" -p "$docker_password" + - echo "$docker_password" | docker login -u "$docker_username" --password-stdin - docker pull danog/madelineproto:next-alpine - docker pull danog/madelineproto:next-debian - docker pull danog/madelineproto:next - docker tag danog/madelineproto:next-alpine danog/madelineproto:alpine - docker tag danog/madelineproto:next-debian danog/madelineproto:debian - docker tag danog/madelineproto:next danog/madelineproto:latest + - docker push danog/madelineproto:alpine + - docker push danog/madelineproto:debian + - docker push danog/madelineproto:latest when: event: - tag