when: branch: [main, high-performance] event: push concurrency: limit: 4 matrix: SERVICE: - gateway - users - companies - jobs - leads - 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: woodpeckerci/plugin-kaniko:2.1.1 settings: registry: registry.nxtgauge.com repo: nxtgauge-rust-${SERVICE} dockerfile: Dockerfile.simple build_args: - SERVICE_NAME=${SERVICE} tags: - ${CI_COMMIT_SHA} - latest - high-performance-latest username: from_secret: REGISTRY_USERNAME password: from_secret: REGISTRY_PASSWORD insecure: true insecure_pull: true skip_tls_verify: true platforms: linux/amd64 cache: false --- when: branch: [main, high-performance] event: push steps: - name: build-and-push-migrate image: woodpeckerci/plugin-kaniko:2.1.1 settings: registry: registry.nxtgauge.com repo: nxtgauge-db-migrate dockerfile: Dockerfile.migrate context: . tags: - ${CI_COMMIT_SHA} - latest - high-performance-latest username: from_secret: REGISTRY_USERNAME password: from_secret: REGISTRY_PASSWORD insecure: true insecure_pull: true skip_tls_verify: true platforms: linux/amd64 cache: false