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