'.drone.yml' ändern
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
53af23162e
commit
9619e760af
10
.drone.yml
10
.drone.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue