-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-image.yaml
More file actions
46 lines (46 loc) · 916 Bytes
/
build-image.yaml
File metadata and controls
46 lines (46 loc) · 916 Bytes
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
apiVersion: v1
kind: Template
metadata:
name: Jira
annotations:
openshift.io/display-name: "Build the Jira image in development environment"
iconClass: "icon-openshift"
tags: "jira"
objects:
- apiVersion: v1
kind: BuildConfig
metadata:
name: jira
labels:
build: jira
spec:
triggers:
- type: ConfigChange
source:
type: Git
git:
uri: git@github.com:xabrochard/jira-openshift.git
ref: master
sourceSecret:
name: sshsecret
strategy:
type: Docker
dockerStrategy:
env:
- name: JIRA_VERSION
value: '8.11.0'
from:
kind: ImageStreamTag
name: 'ubi8:8.2'
output:
to:
kind: ImageStreamTag
name: jira:latest
- apiVersion: v1
kind: ImageStream
metadata:
name: jira
spec:
dockerImageRepository: ''
tags:
- name: latest