27 lines
508 B
YAML
27 lines
508 B
YAML
workspace:
|
|
base: /go
|
|
path: src/gitbase.de/apairon/mark2web
|
|
|
|
pipeline:
|
|
build:
|
|
image: golang:latest
|
|
environment:
|
|
- CGO_ENABLED=0
|
|
commands:
|
|
- go build -v
|
|
|
|
testrun:
|
|
image: alpine
|
|
commands:
|
|
- ls -la
|
|
- ./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 |