Skip to content

Commit

Permalink
hotfix: CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielNathan12 committed Aug 12, 2024
1 parent ee1c9a3 commit f6a1de2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,18 @@ jobs:
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
- name: Set up Docker group
run: |
sudo groupadd docker || true
sudo usermod -aG docker $USER
newgrp docker
- name: Start Docker
run: |
sudo systemctl start docker
sudo systemctl enable docker
sudo docker --version
docker --version
- name: Install dependencies
run: |
Expand All @@ -39,7 +44,9 @@ jobs:
run: |
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube && rm minikube-linux-amd64
sudo minikube start --driver=docker
sudo chown -R $USER:$USER $HOME/.kube $HOME/.minikube || true
mkdir -p $HOME/.kube $HOME/.minikube
minikube start --driver=docker
minikube status
minikube kubectl -- get pods -A
Expand Down

0 comments on commit f6a1de2

Please sign in to comment.