chore(ci): deploy blog from CI
Some checks failed
agola/blog/Build The run failed

This commit is contained in:
Peter Kurfer 2022-09-15 19:08:17 +02:00
parent 1d19b4d23d
commit 8e14c6ddcc
No known key found for this signature in database

View file

@ -15,7 +15,7 @@ runs:
dest_dir: . dest_dir: .
paths: paths:
- '**' - '**'
- name: build docker image - name: Build
runtime: runtime:
containers: containers:
- image: gcr.io/kaniko-project/executor:debug - image: gcr.io/kaniko-project/executor:debug
@ -46,3 +46,13 @@ runs:
--dockerfile /root/project/Dockerfile --dockerfile /root/project/Dockerfile
depends: depends:
- checkout code - 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