Skip to content

Commit ca2678e

Browse files
Merge pull request #6 from TukaTek/feature/TUK-23
Update onyx-pipeline-webserver.yaml
2 parents 0495fd0 + 273e9e1 commit ca2678e

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/onyx-pipeline-webserver.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,23 @@ jobs:
3737
docker push $ACR_LOGIN_SERVER/$ACR_REPOSITORY:$IMAGE_TAG
3838
docker push $ACR_LOGIN_SERVER/$ACR_REPOSITORY:latest
3939
40+
Deploy:
41+
runs-on: ubuntu-latest
42+
steps:
4043
- name: Setup kubeconfig
4144
run: |
4245
echo "${{ secrets.KUBECONFIG }}" | base64 --decode > kubeconfig
4346
chmod 600 kubeconfig
4447
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
4653
env:
4754
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

0 commit comments

Comments
 (0)