woodpecker: expose host docker socket for now until i have time to make docker-in-docker work
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
1678011556
commit
5650b7a785
|
@ -3,17 +3,23 @@ pipeline:
|
||||||
image: docker
|
image: docker
|
||||||
commands:
|
commands:
|
||||||
- echo $REGISTRY_SECRET | docker login -u ariadne --password-stdin gitea.treehouse.systems
|
- echo $REGISTRY_SECRET | docker login -u ariadne --password-stdin gitea.treehouse.systems
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
event: [push, tag]
|
||||||
secrets: [REGISTRY_SECRET]
|
secrets: [REGISTRY_SECRET]
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: docker
|
image: docker
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- docker image build -f Dockerfile . -t gitea.treehouse.systems/treehouse/mastodon:latest
|
- docker image build -f Dockerfile . -t gitea.treehouse.systems/treehouse/mastodon:latest
|
||||||
|
|
||||||
push:
|
push:
|
||||||
image: docker
|
image: docker
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- docker image push --all-tags gitea.treehouse.systems/treehouse/mastodon
|
- docker image push --all-tags gitea.treehouse.systems/treehouse/mastodon
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in New Issue