Skip to content

Commit 986da79

Browse files
committed
Ensure latest docker and qemu are installed on the CI runner
1 parent 9693c92 commit 986da79

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/publish-go-tester-task.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@ jobs:
123123
repo-token: ${{ secrets.GITHUB_TOKEN }}
124124
version: 3.x
125125

126+
- name: Install Latest Docker and QEMU
127+
run: |
128+
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
129+
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
130+
sudo apt-get update
131+
sudo apt-get install docker-ce
132+
sudo apt-get install qemu-user-static
133+
docker --version
134+
126135
- name: Build
127136
run: |
128137
PACKAGE_NAME_PREFIX=${{ needs.package-name-prefix.outputs.prefix }}

.github/workflows/release-go-task.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,15 @@ jobs:
6666
repo-token: ${{ secrets.GITHUB_TOKEN }}
6767
version: 3.x
6868

69+
- name: Install Latest Docker and QEMU
70+
run: |
71+
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
72+
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
73+
sudo apt-get update
74+
sudo apt-get install docker-ce
75+
sudo apt-get install qemu-user-static
76+
docker --version
77+
6978
- name: Build
7079
run: task dist:${{ matrix.os.task }}
7180

0 commit comments

Comments
 (0)