Skip to content

Commit

Permalink
APPS-1372 Disable latest docker image push (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
CezarLeahu committed May 24, 2021
1 parent f3bf39c commit fe58e7a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions scripts/travis/build.sh
Expand Up @@ -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
Expand Down

0 comments on commit fe58e7a

Please sign in to comment.