-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
32 lines (32 loc) · 964 Bytes
/
skaffold.yaml
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
apiVersion: skaffold/v1alpha2
kind: Config
build:
tagPolicy:
envTemplate:
template: "{{.JENKINS_X_DOCKER_REGISTRY_SERVICE_HOST}}:{{.JENKINS_X_DOCKER_REGISTRY_SERVICE_PORT}}/igdianov/kompose-maven-example:{{.VERSION}}"
artifacts:
- imageName: changeme
workspace: .
docker: {}
local: {}
deploy:
kubectl:
manifests:
- ./target/fabric8/*
profiles:
- name: dev
build:
tagPolicy:
envTemplate:
template: "{{.JENKINS_X_DOCKER_REGISTRY_SERVICE_HOST}}:{{.JENKINS_X_DOCKER_REGISTRY_SERVICE_PORT}}/igdianov/kompose-maven-example:{{.DIGEST_HEX}}"
artifacts:
- docker: {}
local: {}
deploy:
helm:
releases:
- name: kompose-maven-example
chartPath: charts/kompose-maven-example
setValueTemplates:
image.repository: "{{.JENKINS_X_DOCKER_REGISTRY_SERVICE_HOST}}:{{.JENKINS_X_DOCKER_REGISTRY_SERVICE_PORT}}/igdianov/kompose-maven-example"
image.tag: "{{.TAG}}"