diff --git a/setup-env/action.yml b/setup-env/action.yml index a3733d6..62863ee 100644 --- a/setup-env/action.yml +++ b/setup-env/action.yml @@ -101,7 +101,7 @@ runs: /usr/libexec/docker/cli-plugins/docker-buildx /usr/libexec/docker/cli-plugins/docker-compose /usr/bin/kubectl - key: ${{ runner.os }}-${{ inputs.cache-key }}-${{ hashFiles('**/action.yml') }}-v2 + key: ${{ runner.os }}-${{ inputs.cache-key }}-${{ hashFiles('**/action.yml') }}-v3 restore-keys: | ${{ runner.os }}-${{ inputs.cache-key }}- diff --git a/setup-env/scripts/setup-environment.sh b/setup-env/scripts/setup-environment.sh index 3c51de5..24c3685 100755 --- a/setup-env/scripts/setup-environment.sh +++ b/setup-env/scripts/setup-environment.sh @@ -101,7 +101,7 @@ install_docker() { # 更新源并安装 Docker apt-get update apt-get install -y \ - docker-ce-cli \ + docker-ce-cli=5:20.10.21~3-0~debian-bullseye \ docker-buildx-plugin \ docker-compose-plugin