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