mark2web/.drone.yml
Sebastian Frank b38ba11b6b
All checks were successful
the build was successful
refactored build process
2019-02-20 09:02:54 +01:00

30 lines
630 B
YAML

workspace:
base: /go
path: src/gitbase.de/apairon/mark2web
pipeline:
build_mark2web_linux:
image: golang:latest
environment:
- CGO_ENABLED=0
- GOOS=linux
- GOARCH=amd64
commands:
- ./build.sh
build_website:
image: alpine
commands:
- ls -la
- ./dist/mark2web-linux-amd64 -version
- ./dist/mark2web-linux-amd64 -in website -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