From 346f8fc2408cc489a3ac8830dd554c605d40842d Mon Sep 17 00:00:00 2001 From: Juan24 <93536474+jajaramillo24@users.noreply.github.com> Date: Tue, 3 Jun 2025 18:06:52 -0300 Subject: [PATCH] Update production-pipeline.yml --- .github/workflows/production-pipeline.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/production-pipeline.yml b/.github/workflows/production-pipeline.yml index dc0ac9d..2a5deca 100644 --- a/.github/workflows/production-pipeline.yml +++ b/.github/workflows/production-pipeline.yml @@ -32,17 +32,17 @@ jobs: touch .env fi cp swagger.prod .env - docker build -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/whatnowapi-qa:${{ github.sha }} -f ./docker/Dockerfile . - docker tag ${{ secrets.REGISTRY_LOGIN_SERVER }}/whatnowapi-qa:${{ github.sha }} ${{ secrets.REGISTRY_LOGIN_SERVER }}/whatnowapi-qa:latest - docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/whatnowapi-qa:${{ github.sha }} - docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/whatnowapi-qa:latest + docker build -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/whatnowapi:${{ github.sha }} -f ./docker/Dockerfile . + docker tag ${{ secrets.REGISTRY_LOGIN_SERVER }}/whatnowapi:${{ github.sha }} ${{ secrets.REGISTRY_LOGIN_SERVER }}/whatnowapi:latest + docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/whatnowapi:${{ github.sha }} + docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/whatnowapi:latest - - name: 'Copy staging values file' + - name: 'Copy production values file' run: | cp ./helm-chart/values-production.yaml ./helm-chart/values.yaml - name: 'Deploy to AKS with Helm' run: | - helm upgrade --install whatnow-qa ./helm-chart \ - --namespace ${{ secrets.AKS_CLUSTER_NAMESPACE_QA }} \ + helm upgrade --install whatnow ./helm-chart \ + --namespace ${{ secrets.AKS_CLUSTER_NAMESPACE }} \ --create-namespace