diff --git a/.github/workflows/deploy-to-minikube-github-actions.yaml b/.github/workflows/deploy-to-minikube-github-actions.yaml index 0b0a300..2cb9d13 100644 --- a/.github/workflows/deploy-to-minikube-github-actions.yaml +++ b/.github/workflows/deploy-to-minikube-github-actions.yaml @@ -12,19 +12,14 @@ jobs: - name: Start Minikube uses: medyagh/setup-minikube@master - name: Try the cluster! - run: kubectl get pods -A - - name: Build image - run: | - export SHELL=/bin/bash - eval $(minikube -p minikube docker-env) - docker build -f ./Dockerfile -t devopshint/node-app:latest . - echo -n "Verifying images:" - docker images + run: kubectl get pods -A - name: Deploy to Minikube run: kubectl apply -f k8s-node-app.yaml + - name: Test service URLs run: | + kubectl get svc minikube service list minikube service nodejs-app --url echo "------------------opening the service------------------"