Remove docker push profile [skip ci]

(cherry picked from commit 75988a345b)
This commit is contained in:
alandavis
2021-05-05 21:27:38 +01:00
parent 42bcc60652
commit 2aa3b605ec
3 changed files with 4 additions and 4 deletions

View File

@@ -583,7 +583,7 @@
</profile> </profile>
<profile> <profile>
<id>publish-docker-images</id> <id>push-docker-images</id>
<!-- publishes "image:latest" on Quay & DockerHub --> <!-- publishes "image:latest" on Quay & DockerHub -->
<build> <build>
<plugins> <plugins>

View File

@@ -157,7 +157,7 @@
</profile> </profile>
<profile> <profile>
<id>publish-docker-images</id> <id>push-docker-images</id>
<!-- publishes "image:latest" on Quay & DockerHub --> <!-- publishes "image:latest" on Quay & DockerHub -->
<build> <build>
<plugins> <plugins>

View File

@@ -7,8 +7,8 @@ pushd "$(dirname "${BASH_SOURCE[0]}")/../../"
source "$(dirname "${BASH_SOURCE[0]}")/build_functions.sh" source "$(dirname "${BASH_SOURCE[0]}")/build_functions.sh"
if isBranchBuild && [ "${TRAVIS_BRANCH}" = "master" ] && [ "${TRAVIS_BUILD_STAGE_NAME,,}" = "release" ] ; then if isBranchBuild && [ "${TRAVIS_BRANCH}" = "master" ] && [ "${TRAVIS_BUILD_STAGE_NAME,,}" = "release" ] ; then
# update ":latest" image tags on remote repositories by using the maven *publish-docker-images* profile # update ":latest" image tags on remote repositories by using the maven *push-docker-images* profile
PROFILES="-Ppublish-docker-images" PROFILES="-Ppush-docker-images"
else else
# build the ":latest" image tags locally with the maven *build-docker-images* profile # build the ":latest" image tags locally with the maven *build-docker-images* profile
PROFILES="-Pbuild-docker-images" PROFILES="-Pbuild-docker-images"