mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ACS-1464 Rename the Maven *internal* profile into *publish-docker-images*
(cherry picked from commit 176b1d2c86
)
This commit is contained in:
@@ -646,7 +646,7 @@
|
|||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
<profile>
|
<profile>
|
||||||
<id>internal</id>
|
<id>publish-docker-images</id>
|
||||||
<!-- publishes "image:latest" on Quay & DockerHub -->
|
<!-- publishes "image:latest" on Quay & DockerHub -->
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
@@ -157,7 +157,7 @@
|
|||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
<profile>
|
<profile>
|
||||||
<id>internal</id>
|
<id>publish-docker-images</id>
|
||||||
<!-- publishes "image:latest" on Quay & DockerHub -->
|
<!-- publishes "image:latest" on Quay & DockerHub -->
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
@@ -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 *internal* profile
|
# update ":latest" image tags on remote repositories by using the maven *publish-docker-images* profile
|
||||||
PROFILES="-Pinternal"
|
PROFILES="-Ppublish-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"
|
||||||
|
Reference in New Issue
Block a user