mark2web/.drone.yml

26 lines
511 B
YAML
Raw Normal View History

2019-02-14 13:54:08 +01:00
workspace:
base: /go
path: src/gitbase.de/apairon/mark2web
pipeline:
2019-02-18 18:03:46 +01:00
build_mark2web:
2019-02-14 13:54:08 +01:00
image: golang:latest
commands:
2019-02-18 13:12:18 +01:00
- ./build.sh
2019-02-14 13:54:08 +01:00
2019-02-18 18:03:46 +01:00
build_website:
2019-02-14 13:54:08 +01:00
image: alpine
commands:
2019-02-14 13:56:30 +01:00
- ls -la
2019-02-18 13:12:18 +01:00
- ./mark2web -version
2019-02-18 18:03:46 +01:00
- ./mark2web -in website -out html -create -logLevel debug
2019-02-14 14:21:17 +01:00
build_docker:
image: docker
commands:
- docker build -t apairon/mark2web .
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
branch: master
event: push