From c2cf539accf0c02fc0fb9305ca7fdb970f387f13 Mon Sep 17 00:00:00 2001 From: an Date: Thu, 22 Feb 2018 21:37:56 +0000 Subject: [PATCH] =?UTF-8?q?'.drone.yml'=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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: