2022-01-10 11:52:49 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: backend
|
2022-01-10 12:07:19 +00:00
|
|
|
image: docker:dind
|
|
|
|
volumes:
|
|
|
|
- name: dockersock
|
|
|
|
path: /var/run/docker.sock
|
2022-01-10 11:52:49 +00:00
|
|
|
commands:
|
2022-01-10 11:55:33 +00:00
|
|
|
- cp .example.env .env
|
2022-01-10 11:52:49 +00:00
|
|
|
- docker-compose build backend
|
2022-01-10 12:07:19 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: dockersock
|
|
|
|
host:
|
|
|
|
path: /var/run/docker.sock
|