This commit is contained in:
parent
1d19b4d23d
commit
8e14c6ddcc
1 changed files with 11 additions and 1 deletions
|
@ -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
|
Loading…
Reference in a new issue