From f8edc08ca60739e0c3bba37fc33f3a29024ceafc Mon Sep 17 00:00:00 2001 From: Lukasz Rys Date: Wed, 29 Apr 2020 23:34:30 +0200 Subject: [PATCH] [ BAEL-3751 ]: Replace spotify docker plugin with JIB --- spring-boot-ci-cd/.travis.yml | 2 +- spring-boot-ci-cd/pom.xml | 28 ++++++++++------------------ 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/spring-boot-ci-cd/.travis.yml b/spring-boot-ci-cd/.travis.yml index 46333d2680..8467e11408 100644 --- a/spring-boot-ci-cd/.travis.yml +++ b/spring-boot-ci-cd/.travis.yml @@ -10,7 +10,7 @@ before_install: script: - ./mvnw clean org.jacoco:jacoco-maven-plugin:prepare-agent install - - ./mvnw heroku:deploy -P deploy-heroku,deploy-docker + - ./mvnw heroku:deploy jib:build -P deploy-heroku,deploy-docker after_success: - bash <(curl -s https://codecov.io/bash) \ No newline at end of file diff --git a/spring-boot-ci-cd/pom.xml b/spring-boot-ci-cd/pom.xml index 5e32fe105e..32d0950d78 100644 --- a/spring-boot-ci-cd/pom.xml +++ b/spring-boot-ci-cd/pom.xml @@ -86,25 +86,17 @@ - com.spotify - dockerfile-maven-plugin - 1.4.13 - - - default - - build - push - - - + com.google.cloud.tools + jib-maven-plugin + 2.2.0 - lukaszrys/spring-boot-ci-cd - ${project.version} - latest - - ${project.build.finalName}.jar - + + registry.hub.docker.com/baeldungjib/baeldung-ci-cd-process + + ${project.version} + latest + +