Skip to content

Commit 4c0faee

Browse files
[no ci] Mitigate
1 parent 842439f commit 4c0faee

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/build-linux.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,21 @@ jobs:
593593
CC: clang
594594
CXX: clang++
595595
steps:
596+
- name: Download static Docker CLI
597+
if: contains(matrix.platform.deps, 'docker')
598+
run: |
599+
DOCKER_VERSION="29.0.0"
600+
curl -fsSL "https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz" -o docker.tgz
601+
tar -xzf docker.tgz
602+
mkdir -p "$HOME/.local/bin"
603+
mv docker/docker "$HOME/.local/bin/docker"
604+
chmod +x "$HOME/.local/bin/docker"
605+
echo "$HOME/.local/bin" >> $GITHUB_PATH
606+
607+
- name: Verify docker version
608+
run: docker version
609+
if: contains(matrix.platform.deps, 'docker')
610+
596611
- name: Install Deps
597612
run: ${{ matrix.platform.deps }}
598613
shell: bash
@@ -654,3 +669,4 @@ jobs:
654669
mcpelauncher-build/*.tar.*
655670
mcpelauncher-build/*.deb
656671
mcpelauncher-build/*.rpm
672+

0 commit comments

Comments
 (0)