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