From fe58e7aa04aa495dc1daf05e55974b564b251068 Mon Sep 17 00:00:00 2001 From: CezarLeahu <35226487+CezarLeahu@users.noreply.github.com> Date: Mon, 24 May 2021 20:37:01 +0300 Subject: [PATCH] APPS-1372 Disable latest docker image push (#476) --- scripts/travis/build.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/travis/build.sh b/scripts/travis/build.sh index df0fad8408..02a9541850 100644 --- a/scripts/travis/build.sh +++ b/scripts/travis/build.sh @@ -6,16 +6,9 @@ pushd "$(dirname "${BASH_SOURCE[0]}")/../../" source "$(dirname "${BASH_SOURCE[0]}")/build_functions.sh" -if isBranchBuild && [ "${TRAVIS_BRANCH}" = "master" ] && [ "${TRAVIS_BUILD_STAGE_NAME,,}" = "release" ] ; then - # update ":latest" image tags on remote repositories by using the maven *push-docker-images* profile - PROFILES="-Ppush-docker-images" -else - # build the ":latest" image tags locally with the maven *build-docker-images* profile - PROFILES="-Pbuild-docker-images" -fi # Build the current project -mvn -B -V install -DskipTests -Dmaven.javadoc.skip=true "${PROFILES}" -Pags +mvn -B -V install -DskipTests -Dmaven.javadoc.skip=true -Pbuild-docker-images -Pags popd