diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4240f90..a16bf3a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,9 +29,10 @@ jobs: run: docker --version - name: Install Latest Docker run: | - sudo curl -fsSL https://apt.dockerproject.org/gpg | apt-key add - - sudo apt-add-repository "deb https://apt.dockerproject.org/repo ubuntu-$(lsb_release -cs) main" - sudo apt-get update -y && apt-get install docker-ce=18.06.2~ce~3-0~ubuntu + 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 - name: Check Docker Version run: docker --version