Skip to content

Commit

Permalink
feat: Initialize the project
Browse files Browse the repository at this point in the history
  • Loading branch information
dinushchathurya committed Jun 7, 2023
1 parent 2366835 commit 17e9297
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/deploy-to-minikube-github-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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------------------"
Expand Down

0 comments on commit 17e9297

Please sign in to comment.