-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
62 lines (60 loc) · 1.46 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
60
61
62
apiVersion: skaffold/v2beta14
kind: Config
build:
artifacts:
- image: ghcr.io/shipperizer/fluffy-octo-telegram-grpc-app
sync:
infer:
- "cmd/grpc/main.go"
- "go.mod"
- "go.sum"
custom:
buildCommand: APP_NAME=grpc ./buildx.sh
dependencies:
dockerfile:
path: Dockerfile
- image: ghcr.io/shipperizer/fluffy-octo-telegram-web-app
sync:
infer:
- "cmd/web/main.go"
- "go.mod"
- "go.sum"
custom:
buildCommand: APP_NAME=web ./buildx.sh
dependencies:
dockerfile:
path: Dockerfile
local:
push: true
deploy:
kubectl:
manifests:
- "argocd.yaml"
- "deployments/kustomize/extServer.yaml" # check README.md
kustomize:
paths:
- "deployments/kustomize"
profiles:
- name: kaniko
build:
artifacts:
- image: ghcr.io/shipperizer/fluffy-octo-telegram-grpc-app
kaniko:
image: gcr.io/kaniko-project/executor:arm64
initImage: docker.io/busybox:stable
buildArgs:
app_name: grpc
TARGETOS: linux
TARGETARCH: arm64
- image: ghcr.io/shipperizer/fluffy-octo-telegram-web-app
kaniko:
image: gcr.io/kaniko-project/executor:arm64
initImage: docker.io/busybox:stable
buildArgs:
app_name: web
TARGETOS: linux
TARGETARCH: arm64
cluster:
randomDockerConfigSecret: true
dockerConfig:
secretName: regcred-github-kaniko