2019-02-14 13:54:08 +01:00
|
|
|
workspace:
|
|
|
|
base: /go
|
|
|
|
path: src/gitbase.de/apairon/mark2web
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: golang:latest
|
|
|
|
commands:
|
2019-02-18 13:12:18 +01:00
|
|
|
- ./build.sh
|
2019-02-14 13:54:08 +01:00
|
|
|
|
|
|
|
testrun:
|
|
|
|
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-14 13:54:08 +01:00
|
|
|
- ./mark2web -in example -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
|