Remove blank lines after code block markers

This commit is contained in:
yeasy
2026-03-21 22:36:09 -07:00
parent 312f8fea42
commit 9ac19d79ee
132 changed files with 0 additions and 1517 deletions

View File

@@ -21,7 +21,6 @@
使用 Docker 多阶段构建可以有效减小镜像体积
```dockerfile
## Build stage
FROM golang:1.23 AS builder
@@ -36,7 +35,6 @@ WORKDIR /app
COPY --from=builder /app/main .
CMD ["./main"]
```
#### 2. GitLab CI 配置
GitLab CI`.gitlab-ci.yml`配置如下
@@ -76,7 +74,6 @@ deploy_staging:
only:
- develop
```
### 21.1.3 最佳实践
1. **不可变基础设施**一旦镜像构建完成在各个环境DevStagingProd中都应该使用同一个镜像 tag通常是 commit hash而不是重新构建