42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
when:
|
|
branch: [main, high-performance]
|
|
event: push
|
|
|
|
matrix:
|
|
SERVICE:
|
|
- gateway
|
|
- users
|
|
- companies
|
|
- job_seekers
|
|
- customers
|
|
- payments
|
|
- employees
|
|
- photographers
|
|
- makeup_artists
|
|
- tutors
|
|
- developers
|
|
- video_editors
|
|
- graphic_designers
|
|
- social_media_managers
|
|
- fitness_trainers
|
|
- catering_services
|
|
- ugc_content_creators
|
|
- cron
|
|
|
|
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-rust-${SERVICE}:${CI_COMMIT_SHA}
|
|
--destination docker-registry.registry.svc.cluster.local:5000/nxtgauge-rust-${SERVICE}:latest
|
|
--destination docker-registry.registry.svc.cluster.local:5000/nxtgauge-rust-${SERVICE}:high-performance-latest
|
|
--build-arg SERVICE_NAME=${SERVICE}
|
|
--cache=true
|
|
--cache-repo docker-registry.registry.svc.cluster.local:5000/nxtgauge-rust-${SERVICE}-cache
|
|
--insecure
|
|
--insecure-pull
|
|
--skip-tls-verify
|