change chart folder name
This commit is contained in:
4
.github/workflows/docker-ci.yml
vendored
4
.github/workflows/docker-ci.yml
vendored
@@ -63,7 +63,7 @@ jobs:
|
|||||||
|
|
||||||
# 2. 使用 yq 更新 values.yaml
|
# 2. 使用 yq 更新 values.yaml
|
||||||
echo "Updating Helm chart values..."
|
echo "Updating Helm chart values..."
|
||||||
yq e '.image.tag = "'$IMAGE_TAG'"' -i kubernetes/fastapi-chart/values.yaml
|
yq e '.image.tag = "'$IMAGE_TAG'"' -i kubernetes/mark-word-fastapi-chart/values.yaml
|
||||||
|
|
||||||
# 3. 配置 Git 用户信息
|
# 3. 配置 Git 用户信息
|
||||||
echo "Configuring Git..."
|
echo "Configuring Git..."
|
||||||
@@ -72,7 +72,7 @@ jobs:
|
|||||||
|
|
||||||
# 4. 提交并推送变更
|
# 4. 提交并推送变更
|
||||||
echo "Committing and pushing changes..."
|
echo "Committing and pushing changes..."
|
||||||
git add kubernetes/fastapi-chart/values.yaml
|
git add kubernetes/mark-word-fastapi-chart/values.yaml
|
||||||
# 检查是否有文件变更,避免在没有变更时创建空的 commit
|
# 检查是否有文件变更,避免在没有变更时创建空的 commit
|
||||||
if ! git diff --staged --quiet; then
|
if ! git diff --staged --quiet; then
|
||||||
git commit -m "CI: Update image tag to ${IMAGE_TAG}"
|
git commit -m "CI: Update image tag to ${IMAGE_TAG}"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# kubernetes/fastapi-chart/templates/ingress.yaml
|
# kubernetes/mark-word-fastapi-chart/templates/ingress.yaml
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
Reference in New Issue
Block a user