diff --git a/.drone.yml b/.drone.yml index c74d9d4..822ce02 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: