ci(workflows): 更新docker.yml中的apt-get命令参数
Build docker and publish / build (20.15.1) (push) Failing after 27s
Build docker and publish / build (20.15.1) (push) Failing after 27s
移除--allow-insecure-repositories选项以增强安全性
This commit is contained in:
@@ -92,8 +92,8 @@ jobs:
|
||||
fi
|
||||
echo "仍在等待锁释放..."; sleep 5
|
||||
done
|
||||
apt-get update -y -o Dpkg::Lock::Timeout=600 --allow-unauthenticated --allow-insecure-repositories --allow-downgrades
|
||||
apt-get install -y -o Dpkg::Lock::Timeout=600 --allow-unauthenticated --allow-insecure-repositories --allow-downgrades --force-yes jq curl ca-certificates docker.io
|
||||
apt-get update -y -o Dpkg::Lock::Timeout=600 --allow-unauthenticated --allow-downgrades
|
||||
apt-get install -y -o Dpkg::Lock::Timeout=600 --allow-unauthenticated --allow-downgrades --force-yes jq curl ca-certificates docker.io
|
||||
docker --version
|
||||
jq --version
|
||||
curl --version
|
||||
|
||||
Reference in New Issue
Block a user