20 lines
760 B
YAML
20 lines
760 B
YAML
when:
|
|
branch: [main, high-performance]
|
|
event: push
|
|
|
|
steps:
|
|
- name: build-and-push
|
|
image: gcr.io/kaniko-project/executor:v1.23.2-debug
|
|
commands:
|
|
- >-
|
|
/kaniko/executor
|
|
--context .
|
|
--dockerfile Dockerfile.simple
|
|
--destination docker-registry.registry.svc.cluster.local:5000/nxtgauge-admin-solid:${CI_COMMIT_SHA}
|
|
--destination docker-registry.registry.svc.cluster.local:5000/nxtgauge-admin-solid:latest
|
|
--destination docker-registry.registry.svc.cluster.local:5000/nxtgauge-admin-solid:high-performance-latest
|
|
--cache=true
|
|
--cache-repo docker-registry.registry.svc.cluster.local:5000/nxtgauge-admin-solid-cache
|
|
--insecure
|
|
--insecure-pull
|
|
--skip-tls-verify
|