pull/53/head
kouhai dev 2023-04-15 18:47:38 -07:00
parent 047aa2c63d
commit 4c6679ef33
1 changed files with 11 additions and 8 deletions

View File

@ -1,15 +1,20 @@
variables:
image: &docker-git docker:rc-git
volumes:
- &docker.sock /var/run/docker.sock:/var/run/docker.sock
volumes: &docker.sock
- /var/run/docker.sock:/var/run/docker.sock
environment:
common: &common-env
NAME: gitea.treehouse.systems/treehouse/mastodon
docker-step: &docker-step
image: docker:rc-git
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
NAME: gitea.treehouse.systems/treehouse/mastodon
pipeline:
build:
image: *docker-git
volumes:
- *docker.sock
volumes: *docker.sock
environment:
<<: *common-env
commands:
@ -19,8 +24,7 @@ pipeline:
tag-nightly:
image: *docker-git
volumes:
- *docker.sock
volumes: *docker.sock
environment:
<<: *common-env
commands:
@ -38,8 +42,7 @@ pipeline:
push:
image: *docker-git
volumes:
- *docker.sock
volumes: *docker.sock
environment:
<<: *common-env
commands: