-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathskaffold.yaml
More file actions
47 lines (46 loc) · 1.18 KB
/
skaffold.yaml
File metadata and controls
47 lines (46 loc) · 1.18 KB
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
apiVersion: skaffold/v4beta1
kind: Config
metadata:
name: web3-transaction-assembler
build:
local:
push: false
useBuildkit: true
tagPolicy:
customTemplate:
template: "{{.date}}-{{.branch}}-g{{.sha}}"
components:
- name: date
dateTime:
format: "2006.01.02"
timezone: "UTC"
- name: branch
gitCommit:
variant: CommitSha
ignoreChanges: true
- name: sha
gitCommit:
variant: AbbrevCommitSha
artifacts:
- image: "com.kvs.web3-transaction-assembler"
docker:
buildArgs:
IMAGE_TAG: "{{.IMAGE_TAG}}"
hooks:
before:
- command:
- sh
- -c
- echo "CONTAINER_TAG=$SKAFFOLD_IMAGE_TAG">build.env
profiles:
- name: web3service
deploy:
helm:
releases:
- name: web3-transaction-assembler
chartPath: chart/web3-transaction-assembler
valuesFiles:
- "chart/web3-transaction-assembler/values-dev.yaml"
setValueTemplates:
image.repository: "{{.IMAGE_REPO}}"
image.tag: "{{.IMAGE_TAG}}"