woodpecker: remove separate login step

logo-fix
Ariadne Conill 2022-11-12 11:18:48 +00:00
parent 5650b7a785
commit d51636a24d
1 changed files with 1 additions and 10 deletions

View File

@ -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]