Compare commits

...

5 Commits

Author SHA1 Message Date
bamanker
c7af2dd52c 修改安装的docker命令2
Some checks failed
Build Push and Deploy Image / build (push) Failing after 55s
2025-12-31 10:22:23 +08:00
bamanker
373b497d37 修改安装的docker命令1
Some checks failed
Build Push and Deploy Image / build (push) Failing after 16s
2025-12-31 10:20:57 +08:00
bamanker
6d1dc22670 修改安装的docker命令
Some checks failed
Build Push and Deploy Image / build (push) Failing after 58s
2025-12-31 10:13:34 +08:00
bamanker
52e4616bb3 安装 tee 命令3 切换ubuntu版本
Some checks failed
Build Push and Deploy Image / build (push) Failing after 4m55s
2025-12-31 10:03:35 +08:00
bamanker
79fba8746f 安装 tee 命令2
Some checks failed
Build Push and Deploy Image / build (push) Failing after 1m4s
2025-12-31 09:52:58 +08:00

View File

@@ -21,7 +21,7 @@ env:
# 构建 Job
jobs:
build:
runs-on: ubuntu-node24 # 如果host构建 linux_amd64
runs-on: ubuntu-node22 # 如果host构建 linux_amd64
# container:
# image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/catthehacker/ubuntu:act-latest
steps:
@@ -38,17 +38,15 @@ jobs:
apt-get install -y gettext &&
apt-get install -y maven &&
apt-get install coreutils &&
apt-get update &&
apt-get install ca-certificates curl &&
install -m 0755 -d /etc/apt/keyrings &&
curl -fsSL https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc &&
chmod a+r /etc/apt/keyrings/docker.asc &&
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu \
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" |
# tee /etc/apt/sources.list.d/docker.list > /dev/null &&
apt-get update &&
apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
curl -fsSL https://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add &&
cd /etc/apt/sources.list.d &&
touch docker.list &&
chmod 666 docker.list &&
echo "deb [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable" > docker.list &&
apt-get update &&
apt upgrade &&
apt-get install -y docker-ce docker-ce-cli containerd.io
- name: Generate maven config
uses: http://139.9.216.111:3000/bamanker/maven-settings-action@v3.1.0
with: