Compare commits
3 Commits
2609ff997f
...
afb2d8118f
Author | SHA1 | Date | |
---|---|---|---|
afb2d8118f | |||
bd7c813dca | |||
1d9f6f7683 |
@ -34,7 +34,7 @@ jobs:
|
|||||||
sudo apt install -y software-properties-common
|
sudo apt install -y software-properties-common
|
||||||
sudo add-apt-repository -y ppa:deadsnakes/ppa
|
sudo add-apt-repository -y ppa:deadsnakes/ppa
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y python3.11 python3.11-venv python3.11-distutils python3-pip
|
sudo apt install -y python3.11 python3.11-venv python3-pip
|
||||||
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
|
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
|
||||||
python3 --version
|
python3 --version
|
||||||
|
|
||||||
@ -51,12 +51,12 @@ jobs:
|
|||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y docker.io
|
sudo apt install -y docker.io
|
||||||
|
|
||||||
- name: 安装 Docker Compose
|
- name: 安装 Docker Compose 插件
|
||||||
run: |
|
run: |
|
||||||
sudo curl -L "https://github.com/docker/compose/releases/download/v2.23.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
|
sudo apt update
|
||||||
sudo chmod +x /usr/local/bin/docker-compose
|
sudo apt install -y docker-compose-plugin
|
||||||
docker-compose --version
|
docker compose version
|
||||||
|
|
||||||
- name: 构建 Docker 镜像
|
- name: 构建 Docker 镜像
|
||||||
run: |
|
run: |
|
||||||
docker-compose build
|
docker compose build
|
Reference in New Issue
Block a user