Files
example-node-project/skaffold.yaml
2020-04-16 10:02:14 +02:00

29 lines
649 B
YAML

apiVersion: skaffold/v1beta2
kind: Config
build:
artifacts:
- image: flowfactor/frontend-node
context: .
docker: {}
tagPolicy:
envTemplate:
template: '{{.DOCKER_REGISTRY}}/{{.IMAGE_NAME}}:{{.VERSION}}'
local: {}
deploy:
kubectl: {}
profiles:
- name: dev
build:
tagPolicy:
envTemplate:
template: '{{.DOCKER_REGISTRY}}/{{.IMAGE_NAME}}:{{.DIGEST_HEX}}'
local: {}
deploy:
helm:
releases:
- name: frontend-node
chartPath: charts/frontend-node
setValueTemplates:
image.repository: '{{.DOCKER_REGISTRY}}/{{.IMAGE_NAME}}'
image.tag: '{{.DIGEST_HEX}}'