Skip to content

Commit

Permalink
Add travis build on branches
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonbondon committed May 29, 2019
1 parent 6a2d8b9 commit eaf11cf
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .travis.yaml → .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eaf11cf

Please sign in to comment.