From bc39045599dd6c9bb77a1de80d80b74134e47f37 Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Fri, 1 Oct 2021 21:00:36 -0800 Subject: [PATCH] Remove auto deploy --- .github/workflows/main.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7c21556..4252299 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,19 +39,4 @@ jobs: IMAGE_TAG: ${{ steps.get_version.outputs.version-without-v }} run: | docker build -t ${{ secrets.DR_URL }}/snowflake-server:$IMAGE_TAG . - docker push ${{ secrets.DR_URL }}/snowflake-server:$IMAGE_TAG - sed -i 's||${{ secrets.DR_URL }}/snowflake-server:'${IMAGE_TAG}'|' $GITHUB_WORKSPACE/deployment.yml - - - name: Kubectl tool installer - uses: Azure/setup-kubectl@v1 - - - name: Kubernetes set context - uses: Azure/k8s-set-context@v1.1 - with: - # Acceptable values: kubeconfig or service-account or service-principal - method: kubeconfig - # Kubernetes Config - kubeconfig: ${{ secrets.KUBE_CONFIG }} - - - name: Deploy to Kubernetes - run: kubectl apply -f $GITHUB_WORKSPACE/deployment.yml + docker push ${{ secrets.DR_URL }}/snowflake-server:$IMAGE_TAG \ No newline at end of file