'.drone.yml' ändern
the build failed
Details
the build failed
Details
This commit is contained in:
parent
1d875511cf
commit
c2cf539acc
11
.drone.yml
11
.drone.yml
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue