feat: 优化CI/CD配置中资源清理,调整使用-VV命令解决测试失败问题

This commit is contained in:
2023-08-28 11:40:23 +08:00
parent f241b1bfc6
commit a314f6f001
+3 -1
View File
@@ -62,7 +62,9 @@ build-artifact:
test:
stage: test
script:
- echo "Skip test, while slapd -V always return error code 1."
- docker run --pull always --rm --platform=linux/arm64 "$IMG_URL$IMG_TAG" -VV
- docker run --pull always --rm --platform=linux/amd64 "$IMG_URL$IMG_TAG" -VV
- docker images -q "$IMG_URL" | sort -u | xargs docker rmi -f
# 部署阶段任务
deploy: