ACS-550 Trigger test release

- without DockerHub image push
This commit is contained in:
Cezar.Leahu
2020-08-26 17:08:22 +03:00
parent bce435ef7b
commit ba495822bc
2 changed files with 22 additions and 19 deletions

View File

@@ -189,15 +189,16 @@
</build> </build>
</image> </image>
<!-- DockerHub image --> <!-- DockerHub image -->
<image> <!-- todo enable when the dockerhub credentials are set on the project -->
<name>${image.name}:${image.tag}</name> <!-- <image>-->
<build> <!-- <name>${image.name}:${image.tag}</name>-->
<dockerFileDir>${project.basedir}/</dockerFileDir> <!-- <build>-->
<buildOptions> <!-- <dockerFileDir>${project.basedir}/</dockerFileDir>-->
<squash>true</squash> <!-- <buildOptions>-->
</buildOptions> <!-- <squash>true</squash>-->
</build> <!-- </buildOptions>-->
</image> <!-- </build>-->
<!-- </image>-->
</images> </images>
</configuration> </configuration>
<executions> <executions>
@@ -237,15 +238,16 @@
</build> </build>
</image> </image>
<!-- DockerHub image --> <!-- DockerHub image -->
<image> <!-- todo enable when the dockerhub credentials are set on the project -->
<name>${image.name}:${project.version}</name> <!-- <image>-->
<build> <!-- <name>${image.name}:${project.version}</name>-->
<dockerFileDir>${project.basedir}/</dockerFileDir> <!-- <build>-->
<buildOptions> <!-- <dockerFileDir>${project.basedir}/</dockerFileDir>-->
<squash>true</squash> <!-- <buildOptions>-->
</buildOptions> <!-- <squash>true</squash>-->
</build> <!-- </buildOptions>-->
</image> <!-- </build>-->
<!-- </image>-->
</images> </images>
</configuration> </configuration>
<executions> <executions>

View File

@@ -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 find "${HOME}/.m2/repository/" -type d -name "*-SNAPSHOT*" | xargs -r -l rm -rf
# Docker Logins # 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 echo "${QUAY_PASSWORD}" | docker login -u="${QUAY_USERNAME}" --password-stdin quay.io
# Enable experimental docker features (for the image squash option) # Enable experimental docker features (for the image squash option)