File tree Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,31 @@ 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 : Login to Docker
80+ uses : azure/docker-login@v1
81+ with :
82+ login-server : index.docker.io
83+ username : ${{ secrets.DOCKER_ID }}
84+ password : ${{ secrets.DOCKER_SECRET }}
6585
6686
6787
You can’t perform that action at this time.
0 commit comments