Skip to content

Commit 0f21f12

Browse files
committed
docker login
Signed-off-by: Ashutosh Kumar <sonasingh46@gmail.com>
1 parent b7c2c5f commit 0f21f12

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

.github/workflows/main.yml

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,37 @@ jobs:
5757
fetch-depth: 1
5858
path: go/src/github.com/sonasingh46/github-actions
5959

60-
- name: Ginkgo Install
60+
- name: Install Docker
6161
run: |
62-
go install github.com/onsi/ginkgo/ginkgo
63-
export PATH=$PATH:$(go env GOPATH)/bin
64-
ginkgo version
62+
sudo apt-get install \
63+
apt-transport-https \
64+
ca-certificates \
65+
curl \
66+
gnupg-agent \
67+
software-properties-common
68+
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
69+
70+
sudo add-apt-repository \
71+
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
72+
$(lsb_release -cs) \
73+
stable"
74+
75+
sudo apt-get update
76+
sudo apt-get install docker-ce docker-ce-cli containerd.io
77+
docker --version
78+
79+
- name: Configure Minikube
80+
run: |
81+
chmod +x hack/minikube.sh
82+
./hack/minikube.sh
83+
84+
- name: Configure Kubectl
85+
run: |
86+
sudo chown -R $USER $HOME/.kube $HOME/.minikube
87+
echo "Get kubectl client and server version"
88+
kubectl version
89+
echo "Get the node"
90+
kubectl get node
6591
6692
6793

0 commit comments

Comments
 (0)