From 55d4fae077ca2f916425822a1bb05ae716e46da7 Mon Sep 17 00:00:00 2001 From: Z-100 Date: Wed, 24 Jan 2024 11:06:54 +0100 Subject: [PATCH] fix the fix the fix the fix the Maybe this works? --- .github/workflows/azure-kubernetes-service.yml | 1 + soemi-woeb/k8s/deployment.yaml | 5 +---- soemi-woers/k8s/deployment.yaml | 5 +---- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/azure-kubernetes-service.yml b/.github/workflows/azure-kubernetes-service.yml index 3ab9638..9b77a60 100644 --- a/.github/workflows/azure-kubernetes-service.yml +++ b/.github/workflows/azure-kubernetes-service.yml @@ -86,3 +86,4 @@ jobs: echo "Deploying services" kubectl replace --force -f ./soemi-woeb/k8s kubectl replace --force -f ./soemi-woers/k8s + kubectl get pods diff --git a/soemi-woeb/k8s/deployment.yaml b/soemi-woeb/k8s/deployment.yaml index 1427114..6069a90 100644 --- a/soemi-woeb/k8s/deployment.yaml +++ b/soemi-woeb/k8s/deployment.yaml @@ -14,9 +14,6 @@ spec: spec: containers: - name: soemi-woeb - image: z100/soemi-woeb - env: - - name: SHORT_COMMIT_SHA - value: "${{ env.COMMIT_SHA_SHORT }}" + image: z100/soemi-woeb:${COMMIT_SHA_SHORT} ports: - containerPort: 3000 diff --git a/soemi-woers/k8s/deployment.yaml b/soemi-woers/k8s/deployment.yaml index 91c4372..adacc79 100644 --- a/soemi-woers/k8s/deployment.yaml +++ b/soemi-woers/k8s/deployment.yaml @@ -14,10 +14,7 @@ spec: spec: containers: - name: soemi-woers - image: z100/soemi-woers - env: - - name: SHORT_COMMIT_SHA - value: "${{ env.COMMIT_SHA_SHORT }}" + image: z100/soemi-woers:${COMMIT_SHA_SHORT} ports: - containerPort: 8089 livenessProbe: