Настроил сборку в drone #2
20
.drone.yml
Normal file
20
.drone.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: exec
|
||||||
|
name: default
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
commands:
|
||||||
|
- docker build .
|
||||||
|
- name: test
|
||||||
|
commands:
|
||||||
|
- docker-compose up --build --abort-on-container-exit
|
||||||
|
- name: run
|
||||||
|
commands:
|
||||||
|
- docker-compose up --build -d
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user