mirror of
https://git.bjxgj.com/xgj/xgj-actions.git
synced 2025-11-29 13:59:05 +08:00
fix: 锁定 docker-ce-cli 版本为 5:20.10.21 并更新缓存版本至 v3
This commit is contained in:
@@ -101,7 +101,7 @@ runs:
|
|||||||
/usr/libexec/docker/cli-plugins/docker-buildx
|
/usr/libexec/docker/cli-plugins/docker-buildx
|
||||||
/usr/libexec/docker/cli-plugins/docker-compose
|
/usr/libexec/docker/cli-plugins/docker-compose
|
||||||
/usr/bin/kubectl
|
/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: |
|
restore-keys: |
|
||||||
${{ runner.os }}-${{ inputs.cache-key }}-
|
${{ runner.os }}-${{ inputs.cache-key }}-
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ install_docker() {
|
|||||||
# 更新源并安装 Docker
|
# 更新源并安装 Docker
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
docker-ce-cli \
|
docker-ce-cli=5:20.10.21~3-0~debian-bullseye \
|
||||||
docker-buildx-plugin \
|
docker-buildx-plugin \
|
||||||
docker-compose-plugin
|
docker-compose-plugin
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user