From 60865acb16802b53d3db6dea687411ba939d8875 Mon Sep 17 00:00:00 2001 From: Ahmed Qadri Date: Wed, 10 Dec 2025 00:36:33 -0800 Subject: [PATCH] Comment out ECR image build and K8s update steps Comment out the build, tag, and push image step along with the update K8s deploy file step in the workflow. --- .github/workflows/cloud_env_deployment.yaml | 28 ++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/cloud_env_deployment.yaml b/.github/workflows/cloud_env_deployment.yaml index aeaf6b3..aa2884f 100644 --- a/.github/workflows/cloud_env_deployment.yaml +++ b/.github/workflows/cloud_env_deployment.yaml @@ -74,20 +74,20 @@ jobs: id: login-ecr uses: aws-actions/amazon-ecr-login@v1 - - name: Build, tag, and push image to Amazon ECR - env: - ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} - ECR_REPOSITORY: togglestore - run: | - docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:${{ env.DEMO_NAMESPACE }}-${{ github.run_id }} . - docker push $ECR_REGISTRY/$ECR_REPOSITORY:${{ env.DEMO_NAMESPACE }}-${{ github.run_id }} - - - name: Update K8s Deploy File - run: python ./.github/workflows/update_k8s_deploy_file.py - env: - NAMESPACE: ${{ env.DEMO_NAMESPACE }} - URL: ${{ env.DEMO_NAMESPACE }}.launchdarklydemos.com - IMAGE: ${{ steps.login-ecr.outputs.registry }}/togglestore:${{ env.DEMO_NAMESPACE }}-${{ github.run_id }} + # - name: Build, tag, and push image to Amazon ECR + # env: + # ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} + # ECR_REPOSITORY: togglestore + # run: | + # docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:${{ env.DEMO_NAMESPACE }}-${{ github.run_id }} . + # docker push $ECR_REGISTRY/$ECR_REPOSITORY:${{ env.DEMO_NAMESPACE }}-${{ github.run_id }} + + # - name: Update K8s Deploy File + # run: python ./.github/workflows/update_k8s_deploy_file.py + # env: + # NAMESPACE: ${{ env.DEMO_NAMESPACE }} + # URL: ${{ env.DEMO_NAMESPACE }}.launchdarklydemos.com + # IMAGE: ${{ steps.login-ecr.outputs.registry }}/togglestore:${{ env.DEMO_NAMESPACE }}-${{ github.run_id }} - name: Check Namespace in Kubernetes uses: kodermax/kubectl-aws-eks@master