th: woodpecker: remove separate login step
parent
3f8b329507
commit
3af10ecac0
|
@ -1,14 +1,4 @@
|
||||||
pipeline:
|
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:
|
build:
|
||||||
image: docker
|
image: docker
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -21,6 +11,7 @@ pipeline:
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
|
- echo $REGISTRY_SECRET | docker login -u ariadne --password-stdin gitea.treehouse.systems
|
||||||
- docker image push --all-tags gitea.treehouse.systems/treehouse/mastodon
|
- docker image push --all-tags gitea.treehouse.systems/treehouse/mastodon
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
event: [push, tag]
|
||||||
|
|
Loading…
Reference in New Issue