From 20b6f058ba4ab5666e51ac987e30935fb9fb0be9 Mon Sep 17 00:00:00 2001 From: Kartik Shah Date: Wed, 17 Apr 2024 12:47:43 +0530 Subject: [PATCH] ci: use kaniko builder --- ci/pipeline.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 6cb4377..d1d95e8 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -10,21 +10,26 @@ jobs: plan: - {get: repo, trigger: true} - task: build - privileged: true config: platform: linux image_resource: type: registry-image source: - repository: vito/oci-build-task + repository: gcr.io/kaniko-project/executor + tag: debug inputs: - name: repo outputs: - name: image - params: - CONTEXT: repo run: - path: build + path: /kaniko/executor + args: + - --context=repo + - --use-new-run + - --single-snapshot + - --cache=false + - --no-push + - --tar-path=image/image.tar - put: edge-image params: image: image/image.tar