From 3af10ecac01baa84e6bd777daa808dd1260d1b33 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sat, 12 Nov 2022 11:18:48 +0000 Subject: [PATCH] th: woodpecker: remove separate login step --- .woodpecker.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index d096eae763..f2256411ec 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,14 +1,4 @@ pipeline: - login: - image: docker - commands: - - echo $REGISTRY_SECRET | docker login -u ariadne --password-stdin gitea.treehouse.systems - volumes: - - /var/run/docker.sock:/var/run/docker.sock - when: - event: [push, tag] - secrets: [REGISTRY_SECRET] - build: image: docker volumes: @@ -21,6 +11,7 @@ pipeline: volumes: - /var/run/docker.sock:/var/run/docker.sock commands: + - echo $REGISTRY_SECRET | docker login -u ariadne --password-stdin gitea.treehouse.systems - docker image push --all-tags gitea.treehouse.systems/treehouse/mastodon when: event: [push, tag]