Skip to content

Commit

Permalink
deploy: 클러스터 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
GitJIHO committed Jan 5, 2025
1 parent 7be8caa commit 2f77664
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-push-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,15 @@ jobs:
docker build -t ${{ secrets.DOCKER_USERNAME }}/knutoyproject:latest .
docker push ${{ secrets.DOCKER_USERNAME }}/knutoyproject:latest
- name: Set up kubectl
uses: azure/setup-kubectl@v2
with:
version: 'v1.24.0'

- name: Set up kubeconfig
run: |
mkdir -p ~/.kube
echo "$KUBECONFIG" > ~/.kube/config
kubectl config set-cluster default --server=https://35.193.204.188:6443
env:
KUBECONFIG: ${{ secrets.KUBECONFIG }}

Expand Down

0 comments on commit 2f77664

Please sign in to comment.