Add more content and fix format

This commit is contained in:
Baohua Yang
2026-02-25 21:06:21 -08:00
parent dd449bc84f
commit ecab788013
119 changed files with 566 additions and 496 deletions

View File

@@ -1,4 +1,4 @@
# 21.1 DevOps 工作流完整示例
## 21.1 DevOps 完整工作流
本章将演示一个基于 DockerKubernetes Jenkins/GitLab CI 的完整 DevOps 工作流
@@ -23,7 +23,7 @@
```dockerfile
## Build stage
FROM golang:1.18 AS builder
FROM golang:1.23 AS builder
WORKDIR /app
COPY . .
RUN go build -o main .
@@ -48,7 +48,7 @@ stages:
unit_test:
stage: test
image: golang:1.18
image: golang:1.23
script:
- go test ./...