26 lines
496 B
YAML
26 lines
496 B
YAML
workspace:
|
|
base: /go
|
|
path: src/gitbase.de/apairon/mark2web
|
|
|
|
pipeline:
|
|
build:
|
|
image: golang:latest
|
|
commands:
|
|
- ./build.sh
|
|
|
|
testrun:
|
|
image: alpine
|
|
commands:
|
|
- ls -la
|
|
- ./mark2web -version
|
|
- ./mark2web -in example -out html -create -logLevel debug
|
|
|
|
build_docker:
|
|
image: docker
|
|
commands:
|
|
- docker build -t apairon/mark2web .
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
when:
|
|
branch: master
|
|
event: push |