changed .drone.yml
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
1a9102fb90
commit
3eca758989
11
.drone.yml
11
.drone.yml
|
@ -2,17 +2,6 @@ kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: prebuild
|
|
||||||
image: golang:latest
|
|
||||||
commands:
|
|
||||||
- IMAGE=dr.dnix.de/$DRONE_REPO_NAME
|
|
||||||
- REV=$(git rev-list HEAD --count)
|
|
||||||
- BUILDDATE=$(date)
|
|
||||||
- BRANCH=$DRONE_COMMIT_BRANCH
|
|
||||||
- TAGS=.tags
|
|
||||||
- echo "Building image $IMAGE:$BRANCH-$REV"
|
|
||||||
- echo -n "$BRANCH-$REV" >$TAGS
|
|
||||||
- cat $TAGS
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
|
Loading…
Reference in New Issue