Use correct docker version in main.yml
This commit is contained in:
parent
b541f1ad2d
commit
8ee3a0fcd4
1 changed files with 3 additions and 4 deletions
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
|
@ -29,10 +29,9 @@ jobs:
|
|||
run: docker --version
|
||||
- name: Install Latest Docker
|
||||
run: |
|
||||
sudo -i
|
||||
curl -fsSL https://apt.dockerproject.org/gpg | apt-key add -
|
||||
apt-add-repository "deb https://apt.dockerproject.org/repo ubuntu-$(lsb_release -cs) main"
|
||||
apt-get update -y && apt-get install docker-ce=18.06.2~ce~3-0~ubuntu
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
||||
sudo apt-get update -y && apt-get install docker-ce=18.06.2~ce~3-0~ubuntu
|
||||
- name: Check Docker Version
|
||||
run: docker --version
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue