Skip to content

Commit d39b069

Browse files
committed
Setup GitHub Actions for Docker build and push
1 parent 681460f commit d39b069

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,4 @@ jobs:
2727
with:
2828
context: .
2929
push: true
30-
tags: ghcr.io/${{ github.repository }}:latest
31-
32-
- name: Setup Kubectl
33-
uses: azure/setup-kubectl@v3
34-
with:
35-
version: 'v1.29.0'
36-
37-
- name: Setup Kubeconfig
38-
run: |
39-
mkdir -p $HOME/.kube
40-
echo "${{ secrets.KUBECONFIG_CONTENT }}" > $HOME/.kube/config
41-
42-
- name: Deploy to Minikube (or Cluster)
43-
run: |
44-
kubectl apply -f k8s/deployment.yaml
45-
kubectl apply -f k8s/service.yaml
30+
tags: ghcr.io/singhsayan/node-ci-cd-k8s-monitoring:latest

0 commit comments

Comments
 (0)