From 8e14c6ddcca433b37de8253784cf08863455cdae Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Thu, 15 Sep 2022 19:08:17 +0200 Subject: [PATCH] chore(ci): deploy blog from CI --- .agola/config.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.agola/config.yml b/.agola/config.yml index f369caa..069c3b5 100644 --- a/.agola/config.yml +++ b/.agola/config.yml @@ -15,7 +15,7 @@ runs: dest_dir: . paths: - '**' - - name: build docker image + - name: Build runtime: containers: - image: gcr.io/kaniko-project/executor:debug @@ -46,3 +46,13 @@ runs: --dockerfile /root/project/Dockerfile depends: - checkout code + - name: Deploy + runtime: + containers: + - image: docker.io/alpine/helm + steps: + - restore_workspace: + dest_dir: . + - run: + name: Deploy Helm chart + command: helm upgrade --set image.tag=$AGOLA_GIT_COMMITSHA --install --namespace blog deploy/helm blog \ No newline at end of file