-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathskaffold.yaml
47 lines (45 loc) · 1.19 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
apiVersion: skaffold/v2beta22
kind: Config
metadata:
name: sample-spring-boot-on-kubernetes
build:
artifacts:
- image: piomin/sample-spring-boot-on-kubernetes
jib:
args:
- -Pjib
- -DskipTests
deploy:
kubectl:
manifests:
- k8s/mongodb-deployment.yaml
- k8s/deployment.yaml
profiles:
- name: knative
deploy:
kubectl:
manifests:
- k8s/knative-service.yaml
- name: buildpacks
build:
artifacts:
- image: piomin/sample-spring-boot-on-kubernetes
buildpacks:
builder: paketobuildpacks/builder:base
# builder: gcr.io/buildpacks/builder:v1
# builder: heroku/buildpacks:20
buildpacks:
# - paketo-buildpacks/eclipse-openj9
# - paketo-buildpacks/amazon-corretto
# - paketo-buildpacks/oracle
- paketo-buildpacks/adoptium
# - paketo-buildpacks/azul-zulu
# - paketo-buildpacks/alibaba-dragonwell
# - paketo-buildpacks/microsoft-openjdk
- paketo-buildpacks/java
env:
- BP_JVM_VERSION=17
# - GOOGLE_RUNTIME_VERSION=17
# tagPolicy:
# envTemplate:
# template: "{{.VENDOR}}"