From eaf11cff0a410d8ff5c8b08b7b54e94c4cfe4435 Mon Sep 17 00:00:00 2001 From: Artem Yarmoluk Date: Mon, 27 May 2019 12:58:20 +0200 Subject: [PATCH] Add travis build on branches --- .travis.yaml => .travis.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) rename .travis.yaml => .travis.yml (69%) diff --git a/.travis.yaml b/.travis.yml similarity index 69% rename from .travis.yaml rename to .travis.yml index 4cda8714075..91b59aac764 100644 --- a/.travis.yaml +++ b/.travis.yml @@ -31,14 +31,24 @@ before_script: script: - make verify - - make images + +branches: + only: + - privateacm + - /^v.*$/ deploy: - provider: script skip_cleanup: true - script: - - docker tag quay.io/jetstack/cert-manager-controller:canary quay.io/dreamteam/cert-manager-controller:$TRAVIS_TAG - - docker push quay.io/dreamteam/cert-manager-controller:$TRAVIS_TAG + script: >- + DOCKER_TAG=$TRAVIS_TAG bazel run //hack/release -- + --repo-root "$TRAVIS_BUILD_DIR" + --images + --images.export + --images.components=controller + --publish + --app-version="$TRAVIS_TAG" + --docker-repo="quay.io/dreamteam" on: tags: true all_branches: true