Browse Source

Merge pull request #1114 from docker/setup-dockercli-gha

Setup docker cli on gha
Guillaume Tardif 4 years ago
parent
commit
8b3b634b04

+ 5 - 0
.github/workflows/aci-tests.yml

@@ -34,6 +34,11 @@ jobs:
           go-version: 1.15
         id: go
 
+      - name: Setup docker CLI
+        run: |
+          curl https://download.docker.com/linux/static/stable/x86_64/docker-20.10.2.tgz | tar xz
+          sudo cp ./docker/docker /usr/bin/ && rm -rf docker && docker version
+
       - name: Checkout code into the Go module directory
         uses: actions/checkout@v2
 

+ 5 - 0
.github/workflows/ci.yml

@@ -45,6 +45,11 @@ jobs:
           go-version: 1.15
         id: go
 
+      - name: Setup docker CLI
+        run: |
+          curl https://download.docker.com/linux/static/stable/x86_64/docker-20.10.2.tgz | tar xz
+          sudo cp ./docker/docker /usr/bin/ && rm -rf docker && docker version
+
       - name: Checkout code into the Go module directory
         uses: actions/checkout@v2
 

+ 5 - 0
.github/workflows/ecs-tests.yml

@@ -35,6 +35,11 @@ jobs:
           go-version: 1.15
         id: go
 
+      - name: Setup docker CLI
+        run: |
+          curl https://download.docker.com/linux/static/stable/x86_64/docker-20.10.2.tgz | tar xz
+          sudo cp ./docker/docker /usr/bin/ && rm -rf docker && docker version
+
       - name: Checkout code into the Go module directory
         uses: actions/checkout@v2
 

+ 5 - 0
.github/workflows/release.yaml

@@ -14,6 +14,11 @@ jobs:
           go-version: 1.15
         id: go
 
+      - name: Setup docker CLI
+        run: |
+          curl https://download.docker.com/linux/static/stable/x86_64/docker-20.10.2.tgz | tar xz
+          sudo cp ./docker/docker /usr/bin/ && rm -rf docker && docker version
+
       - name: Checkout code into the Go module directory
         uses: actions/checkout@v2
 

+ 4 - 0
.github/workflows/windows-ci.yml

@@ -35,6 +35,10 @@ jobs:
           go-version: 1.15
         id: go
 
+      - name: Setup docker CLI
+        run: |
+          docker version
+
       - name: Checkout code into the Go module directory
         uses: actions/checkout@v2