.circleci/config.yml: fix publish jobs (#6176)

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
Simon Pasquier 2019-10-18 10:04:19 +02:00 committed by Julius Volz
parent 5b8ff9b8a4
commit a19aea4ec2

View file

@ -2,7 +2,7 @@
version: 2.1 version: 2.1
orbs: orbs:
prometheus: prometheus/prometheus@0.1.0 prometheus: prometheus/prometheus@0.3.0
executors: executors:
# Whenever the Go version is updated here, .travis.yml and .promu.yml # Whenever the Go version is updated here, .travis.yml and .promu.yml
@ -82,6 +82,7 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
image: circleci/golang-node
- prometheus/publish_release: - prometheus/publish_release:
context: org-context context: org-context
requires: requires:
@ -92,6 +93,7 @@ workflows:
only: /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/ only: /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/
branches: branches:
ignore: /.*/ ignore: /.*/
image: circleci/golang-node
nightly: nightly:
triggers: triggers:
- schedule: - schedule: