all routes wired together
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-04-05 11:14:02 +02:00
parent af4307c6a4
commit b5be06848e
9 changed files with 69 additions and 53 deletions

View File

@@ -6,7 +6,6 @@ steps:
- name: test
image: openjdk:8-jdk
commands:
- echo "test"
- ./gradlew build
- name: build
@@ -20,6 +19,7 @@ steps:
DOCKER_PASSWORD:
from_secret: DOCKER_PASSWORD
commands:
- ./gradlew build
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
- docker build -t="registry.kmlabz.com/$DOCKER_USERNAME/$DRONE_REPO_NAME" .
- docker build -t="registry.kmlabz.com/$DOCKER_USERNAME/$DRONE_REPO_NAME:$DRONE_BUILD_NUMBER" .