From 2b46b2f78bd8a7459a496dc59d51db6f281de8af Mon Sep 17 00:00:00 2001 From: Felix Delattre Date: Fri, 15 Nov 2024 18:20:25 +0100 Subject: [PATCH] Added deployment of webapp with helm. --- .github/workflows/deploy-webapp.yaml | 9 ++++++++- webapp/{ => deploy}/Dockerfile | 0 2 files changed, 8 insertions(+), 1 deletion(-) rename webapp/{ => deploy}/Dockerfile (100%) diff --git a/.github/workflows/deploy-webapp.yaml b/.github/workflows/deploy-webapp.yaml index 2912d06..4b26ff0 100644 --- a/.github/workflows/deploy-webapp.yaml +++ b/.github/workflows/deploy-webapp.yaml @@ -46,7 +46,14 @@ jobs: uses: docker/build-push-action@v5 with: context: ./webapp - file: ./webapp/Dockerfile + file: ./webapp/deploy/Dockerfile push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + + - name: Deploy to Kubernetes via Helm + uses: 'deliverybot/helm@v1' + with: + registry: 'c63eqfuv.c1.gra9.container-registry.ovh.net' + image: 'gfts/webapp' + namespace: 'webapp' diff --git a/webapp/Dockerfile b/webapp/deploy/Dockerfile similarity index 100% rename from webapp/Dockerfile rename to webapp/deploy/Dockerfile