File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,23 @@ jobs:
37
37
docker push $ACR_LOGIN_SERVER/$ACR_REPOSITORY:$IMAGE_TAG
38
38
docker push $ACR_LOGIN_SERVER/$ACR_REPOSITORY:latest
39
39
40
+ Deploy :
41
+ runs-on : ubuntu-latest
42
+ steps :
40
43
- name : Setup kubeconfig
41
44
run : |
42
45
echo "${{ secrets.KUBECONFIG }}" | base64 --decode > kubeconfig
43
46
chmod 600 kubeconfig
44
47
45
- - name : Get pods
48
+ - name : Install Helm
49
+ run : |
50
+ curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
51
+
52
+ - name : Deploy using Helm
46
53
env :
47
54
KUBECONFIG : ${{ github.workspace }}/kubeconfig
48
- run : kubectl get pods -n onyx
55
+ run : |
56
+ helm upgrade onyx . -n onyx \
57
+ --set postgresql.primary.persistence.enabled=false \
58
+ --set webserver.images.repository=$ACR_LOGIN_SERVER/$ACR_REPOSITORY \
59
+ --set webserver.images.tag=$IMAGE_TAG
You can’t perform that action at this time.
0 commit comments