-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
59 lines (53 loc) · 1.21 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
apiVersion: skaffold/v2beta8
kind: Config
metadata:
name: detect-secrets-stream
build:
local:
useDockerCLI: true
tagPolicy:
sha256: {}
artifacts:
- image: icr.io/git-defenders/detect-secrets-stream
context: .
docker:
dockerfile: Dockerfiles/Dockerfile.dss
test:
- image: icr.io/git-defenders/detect-secrets-stream
structureTests:
- Dockerfiles/test.dss.yml
profiles:
# for local personal dev
- name: dev
build:
local:
useDockerCLI: true
push: false
tagPolicy:
gitCommit:
# replace this field with your own prefix
prefix: myname-
artifacts:
- image: icr.io/git-defenders/detect-secrets-stream
context: .
docker:
dockerfile: Dockerfiles/Dockerfile.dss
deploy:
kustomize:
paths: ["kustomize_envs/dev"]
portForward:
- resourceType: deployment
namespace: dev
resourceName: gd-revoker
port: 5000
localPort: 5000
- resourceType: deployment
namespace: dev
resourceName: gd-ingest
port: 5000
localPort: 5001
# for build image locally but do not push
- name: build-no-push
build:
local:
push: false