-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.yml
45 lines (41 loc) · 938 Bytes
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: 2.1
orbs:
cli: circleci/[email protected]
executors:
cibuilds:
docker:
- image: cibuilds/base:2019.06
workflows:
main:
jobs:
- test:
filters:
tags:
# Simplified SemVer regex
only: /^\d+\.\d+\.\d+$/
- publish:
requires:
- test
filters:
branches:
ignore: /.*/
tags:
# Simplified SemVer regex
only: /^\d+\.\d+\.\d+$/
context: orb-publishing
jobs:
test:
executor: cibuilds
steps:
- checkout
- cli/install
- run:
name: "Validate Orb config"
command: circleci orb validate orb.yml
publish:
executor: cli/default
steps:
- checkout
- run:
name: "Publish orb via the CircleCI CLI"
command: circleci orb publish orb.yml titel-media/openvpn@${CIRCLE_TAG}