From a74d18dfc8b05aed489c739e7fc489f23a758793 Mon Sep 17 00:00:00 2001 From: Bohdan Date: Thu, 30 May 2019 15:58:33 +0300 Subject: [PATCH] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 99f8cb9..3f57d8f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.org/soramitsu/gradle-sora-plugin.svg?branch=master)](https://travis-ci.org/soramitsu/gradle-sora-plugin) + # gradle-devops-helper Min supported gradle 4.8 @@ -33,12 +35,12 @@ https://plugins.gradle.org/plugin/jp.co.soramitsu.sora-plugin All fields are optional. build.gradle: -``` +```gradle soramitsu { projectGroup = 'sora' # define namespace for your project. default: null docker { # path to output JAR which is going to be dockerized - jar = jar = new File("build/libs/${project.name}-${project.version}.jar") + jar = new File("build/libs/${project.name}-${project.version}.jar") # manually specified docker tag. if null, automatic versioning based on git is used # it replaces only 'version' part, e.g. ${name}:${tag}. Example: soramitsu/example:${tag} tag = "custom-tag" @@ -54,7 +56,7 @@ soramitsu { ``` Docker registry data can be defined from env vars. Env vars ALWAYS override any value from build.gradle: -``` +```bash DOCKER_REGISTRY_URL="https://nexus.iroha.tech:19001" DOCKER_REGISTRY_USERNAME="bogdan" DOCKER_REGISTRY_PASSWORD="password"