forked from nestjs/typescript-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
50 lines (44 loc) · 945 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
apiVersion: skaffold/v2beta9
kind: Config
build:
artifacts:
- image: nestjs
context: .
sync:
manual:
- src: src/**
dest: /app
docker:
target: prod
cacheFrom:
- node:14
- gcr.io/distroless/nodejs:14
local:
useBuildkit: true
profiles:
- name: dev
activation:
- command: dev
patches:
- op: replace
path: /build/artifacts/0/docker/target
value: dev-source
- name: debug
activation:
- command: debug
patches:
- op: replace
path: /build/artifacts/0/docker/target
value: debug-source
- name: debug-brk
activation:
- command: debug-brk
patches:
- op: replace
path: /build/artifacts/0/docker/target
value: debug-source-brk
- name: test
patches:
- op: replace
path: /build/artifacts/0/docker/target
value: test