'.drone.yml' ändern
the build failed Details

This commit is contained in:
an 2018-02-22 21:37:56 +00:00
parent 1d875511cf
commit c2cf539acc
1 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,5 @@
pipeline:
build:
prebuild:
image: golang:1.9
environment:
- IMAGE=dr.dnix.de/$DRONE_REPO_NAME
@ -23,15 +23,14 @@ pipeline:
- echo "\"" >>$VERSIONGO
- echo ")" >>$VERSIONGO
- cat version.go
- go get -d ./...
- go build
publish:
build_docker:
image: plugins/docker
environment:
- IMAGE=dr.dnix.de/$DRONE_REPO_NAME
- REV=$(git rev-list HEAD --count)
repo: dr.dnix.de/mmflokati
auto_tag: true
tags:
- latest
- ${REV}
deploy:
image: ubuntu:16.04
commands: