forked from hashicorp/vault-k8s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tikici.yml
51 lines (42 loc) · 1.42 KB
/
.tikici.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
46
47
version: 1
config:
slack_notify: true
slack_channel: 'architecture-ci'
dev_branch_name: dev
jobs:
build_docker:
steps:
- run:
name: Build image
command: make image
executor: machine
- run:
name: Tag image
command: docker tag hashicorp/vault-k8s:0.2.0 hub.infra.tiki.services/ci/vault-k8s:${BRANCH_NAME}-build-${BUILD_NUMBER}
executor: machine
- run:
name: Tag image
command: docker tag hashicorp/vault-k8s:0.2.0 asia.gcr.io/tikivn/vault-k8s:${BRANCH_NAME}-build-${BUILD_NUMBER}
executor: machine
publish_docker:
steps:
- run:
name: Push image
command: docker push hub.infra.tiki.services/ci/vault-k8s:${BRANCH_NAME}-build-${BUILD_NUMBER}
executor: machine
- run:
name: Push image
command: docker push asia.gcr.io/tikivn/vault-k8s:${BRANCH_NAME}-build-${BUILD_NUMBER}
executor: machine
workflows:
jenkins_pipeline:
jobs:
- build_docker
- publish_docker:
requires:
- build_docker
filters:
branches:
only:
- master
- add-istio