'.drone.yml' ändern
the build was successful Details

This commit is contained in:
an 2018-02-22 18:01:39 +00:00
parent 53af23162e
commit 9619e760af
1 changed files with 5 additions and 5 deletions

View File

@ -4,11 +4,11 @@ pipeline:
environment: environment:
- FOO=2 - FOO=2
commands: commands:
- export REV=$(git rev-list HEAD --count) - REV=$(git rev-list HEAD --count)
- export BUILDDATE=$(date) - BUILDDATE=$(date)
- export BRANCH=$DRONE_COMMIT_BRANCH - BRANCH=$DRONE_COMMIT_BRANCH
- export IMAGE=dr.dnix.de/$DRONE_REPO_NAME - IMAGE=dr.dnix.de/$DRONE_REPO_NAME
- export VERSIONGO=version.go - VERSIONGO=version.go
- echo "Building image $IMAGE:$BRANCH-$REV" - echo "Building image $IMAGE:$BRANCH-$REV"
- echo "package main" >$VERSIONGO - echo "package main" >$VERSIONGO
- echo "" >>$VERSIONGO - echo "" >>$VERSIONGO