Use correct docker version in main.yml

This commit is contained in:
Lawrence Wong 2023-01-13 09:54:57 -08:00
parent b541f1ad2d
commit 8ee3a0fcd4

View file

@ -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