forked from nuxeo/nuxeo-web-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskaffold.yaml
40 lines (40 loc) · 1.11 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
apiVersion: skaffold/v1beta11
kind: Config
build:
insecureRegistries:
- ${DOCKER_REGISTRY}
tagPolicy:
envTemplate:
template: "{{.DOCKER_REGISTRY}}/{{.ORG}}/{{.IMAGE_NAME}}:{{.VERSION}}"
artifacts:
#- image: nuxeo-web-ui/dev
# context: .
# kaniko:
# dockerfile: Dockerfile.dev
# buildArgs:
# DOCKER_REGISTRY: ${DOCKER_REGISTRY}
# buildContext:
# localDir: {}
# flags:
# - --insecure
# - --insecure-pull
# - --insecure-registry=${DOCKER_REGISTRY}
# cache:
# repo: ${DOCKER_REGISTRY}/${ORG}/nuxeo-web-ui/dev/cache
- image: nuxeo-web-ui
context: .
kaniko:
dockerfile: Dockerfile
buildArgs:
DOCKER_REGISTRY: ${DOCKER_REGISTRY}
SERVER_IMAGE: ${DOCKER_REGISTRY}/${ORG}/nuxeo-web-ui/server:${VERSION}
buildContext:
localDir: {}
flags:
- --insecure
- --insecure-pull
- --insecure-registry=${DOCKER_REGISTRY}
cache:
repo: ${DOCKER_REGISTRY}/${ORG}/nuxeo-web-ui/cache
cluster:
namespace: webui