Files
test-repo/skaffold.yaml
2020-03-31 14:57:04 +02:00

29 lines
644 B
YAML

apiVersion: skaffold/v1beta2
kind: Config
build:
artifacts:
- image: beppevanrolleghem/test-repo
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: test-repo
chartPath: charts/test-repo
setValueTemplates:
image.repository: '{{.DOCKER_REGISTRY}}/{{.IMAGE_NAME}}'
image.tag: '{{.DIGEST_HEX}}'