Skip to content

Commit 5244fcc

Browse files
committed
1o.2
1 parent a1879c5 commit 5244fcc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci-cd.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ jobs:
2828
- name: Checkout code
2929
uses: actions/checkout@v4
3030

31+
# Install kubectl using apt-get
32+
- name: Install kubectl
33+
run: |
34+
sudo apt-get update
35+
sudo apt-get install -y kubectl
36+
3137
# Authenticate to Google Cloud
3238
- id: 'auth'
3339
name: 'Authenticate to Google Cloud'
@@ -42,11 +48,6 @@ jobs:
4248
- name: Set up Cloud SDK
4349
uses: google-github-actions/setup-gcloud@v2
4450

45-
# Install kubectl
46-
- name: Install kubectl
47-
run: |
48-
gcloud components install kubectl --quiet
49-
5051
# Configure Docker for Artifact Registry
5152
- name: Configure Docker
5253
run: |

0 commit comments

Comments
 (0)