-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
skaffold.yaml
34 lines (32 loc) · 970 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
33
34
# example https://github.com/GoogleCloudPlatform/microservices-demo/blob/master/skaffold.yaml
# schema https://skaffold.dev/docs/references/yaml/
apiVersion: skaffold/v2beta27
kind: Config
build:
artifacts:
- image: skaffold-buildpacks
buildpacks:
builder: gcr.io/buildpacks/builder:v1
env:
- GOPROXY={{.GOPROXY}}
# ko:
# fromImage: gcr.io/distroless/base:debug-nonroot
# env:
# - GOPRIVATE=git.internal.example.com,source.developers.google.com
# - GOPROXY={{.GOPROXY}}
# platforms:
# - linux/amd64
# labels:
# org.opencontainers.image.licenses: Apache-2.0
# org.opencontainers.image.source: https://github.com/xmlking/grpc-starter-kit
# org.opencontainers.image.source: "{{.GITHUB_SERVER_URL}}/{{.GITHUB_REPOSITORY}}
profiles:
- name: gcb
build:
googleCloudBuild: {}
#- name: gcb
# build:
# googleCloudBuild:
# diskSizeGb: 300
# machineType: N1_HIGHCPU_32
# timeout: 4000s