From 9e03587906a06c5e1485d3a83cd9caed2169fa67 Mon Sep 17 00:00:00 2001 From: Dragos Mateescu Date: Mon, 7 Jun 2021 14:20:42 +0300 Subject: [PATCH] third try of the automatic release on separated branch --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c76db46b0..2d826c3d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,4 +6,4 @@ services: before_script: - '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || [ "${TRAVIS_BRANCH}" != "main" ] || docker login -u springbuildmaster -p "$DOCKERHUB_PASSWORD"' script: - - ./mvnw spring-boot:build-image -D spring-boot.build-image.imageName=springio/petclinic && ([ "${TRAVIS_BRANCH}" != "main" ] || docker push springio/petclinic) + - './mvnw spring-boot:build-image -D spring-boot.build-image.imageName=springio/petclinic && ([ "${TRAVIS_BRANCH}" != "main" ] || docker push springio/petclinic)'