新增工作流3
Some checks failed
Build and Push to SmartParks Registry / 构建并推送镜像到仓库注册表 (push) Failing after 1m54s
Some checks failed
Build and Push to SmartParks Registry / 构建并推送镜像到仓库注册表 (push) Failing after 1m54s
This commit is contained in:
parent
81d60e3832
commit
93af6976da
@ -22,12 +22,6 @@ jobs:
|
|||||||
echo "===== 开始Maven构建 ====="
|
echo "===== 开始Maven构建 ====="
|
||||||
/maven/apache-maven-3.9.11/bin/mvn clean package -DskipTests
|
/maven/apache-maven-3.9.11/bin/mvn clean package -DskipTests
|
||||||
echo "===== Maven构建完成 ====="
|
echo "===== Maven构建完成 ====="
|
||||||
# 验证构建结果
|
|
||||||
if [ ! -d "./target" ]; then
|
|
||||||
echo "错误:Maven构建未生成target目录"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: 构建并推送Docker镜像
|
- name: 构建并推送Docker镜像
|
||||||
env:
|
env:
|
||||||
# Gitea容器注册表地址(请确认是否正确)
|
# Gitea容器注册表地址(请确认是否正确)
|
||||||
|
Loading…
Reference in New Issue
Block a user