mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ACS-550 Trigger test release
- without DockerHub image push
This commit is contained in:
@@ -189,15 +189,16 @@
|
||||
</build>
|
||||
</image>
|
||||
<!-- DockerHub image -->
|
||||
<image>
|
||||
<name>${image.name}:${image.tag}</name>
|
||||
<build>
|
||||
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
||||
<buildOptions>
|
||||
<squash>true</squash>
|
||||
</buildOptions>
|
||||
</build>
|
||||
</image>
|
||||
<!-- todo enable when the dockerhub credentials are set on the project -->
|
||||
<!-- <image>-->
|
||||
<!-- <name>${image.name}:${image.tag}</name>-->
|
||||
<!-- <build>-->
|
||||
<!-- <dockerFileDir>${project.basedir}/</dockerFileDir>-->
|
||||
<!-- <buildOptions>-->
|
||||
<!-- <squash>true</squash>-->
|
||||
<!-- </buildOptions>-->
|
||||
<!-- </build>-->
|
||||
<!-- </image>-->
|
||||
</images>
|
||||
</configuration>
|
||||
<executions>
|
||||
@@ -237,15 +238,16 @@
|
||||
</build>
|
||||
</image>
|
||||
<!-- DockerHub image -->
|
||||
<image>
|
||||
<name>${image.name}:${project.version}</name>
|
||||
<build>
|
||||
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
||||
<buildOptions>
|
||||
<squash>true</squash>
|
||||
</buildOptions>
|
||||
</build>
|
||||
</image>
|
||||
<!-- todo enable when the dockerhub credentials are set on the project -->
|
||||
<!-- <image>-->
|
||||
<!-- <name>${image.name}:${project.version}</name>-->
|
||||
<!-- <build>-->
|
||||
<!-- <dockerFileDir>${project.basedir}/</dockerFileDir>-->
|
||||
<!-- <buildOptions>-->
|
||||
<!-- <squash>true</squash>-->
|
||||
<!-- </buildOptions>-->
|
||||
<!-- </build>-->
|
||||
<!-- </image>-->
|
||||
</images>
|
||||
</configuration>
|
||||
<executions>
|
||||
|
@@ -7,7 +7,8 @@ mkdir -p "${HOME}/.m2" && cp -f .travis.settings.xml "${HOME}/.m2/settings.xml"
|
||||
find "${HOME}/.m2/repository/" -type d -name "*-SNAPSHOT*" | xargs -r -l rm -rf
|
||||
|
||||
# Docker Logins
|
||||
echo "${DOCKERHUB_USERNAME}" | docker login -u="${DOCKERHUB_PASSWORD}" --password-stdin
|
||||
# todo enable when the dockerhub credentials are set on the project
|
||||
#echo "${DOCKERHUB_USERNAME}" | docker login -u="${DOCKERHUB_PASSWORD}" --password-stdin
|
||||
echo "${QUAY_PASSWORD}" | docker login -u="${QUAY_USERNAME}" --password-stdin quay.io
|
||||
|
||||
# Enable experimental docker features (for the image squash option)
|
||||
|
Reference in New Issue
Block a user