Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Trigger circle builds from tags as well as branches
Browse files Browse the repository at this point in the history
  • Loading branch information
awh committed Nov 1, 2017
1 parent 7245fec commit e7a8809
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,12 @@ jobs:
docker login -u "$DOCKER_REGISTRY_USER" -p "$DOCKER_REGISTRY_PASSWORD" quay.io
docker push "quay.io/weaveworks/flux:$(docker/image-tag)"
fi
workflows:
version: 2
build-and-push:
jobs:
- build:
filters:
tags:
only: /[0-9]+(\.[0-9]+)*(-[a-z]+)?/

0 comments on commit e7a8809

Please sign in to comment.