From 5a99046bfca6559a2260802e0ceb65deab93e5b5 Mon Sep 17 00:00:00 2001 From: Miya Chen Date: Wed, 17 Oct 2018 12:48:10 +0800 Subject: [PATCH] travis.yml: update branch and tag naming --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 657efdbcaafb..83a9155fa36e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,11 +19,11 @@ matrix: - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin quay.io/amis - make docker - make docker.push - if: branch = feature/indexer_diff_1.8.17 AND (NOT type IN (pull_request)) + if: NOT type IN (pull_request) - stage: Staging Release script: - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin quay.io/amis - make docker - make docker.push - if: tag =~ ^indexer_diff_1.8.17/v + if: tag =~ ^indexer-([0-9]+.)+[0-9]+ env: DOCKER_IMAGE_TAG="$TRAVIS_TAG"