/Release/v1.1.0
本次更新添加了对 Google Vertex AI 的完整支持,现在您可以在 CNB 流水线中使用 Gemini 系列模型进行文本生成。
main:
push:
- stages:
- name: generate content
image: cnbcool/gcloud
settings:
action: vertex-ai
credentials: $GOOGLE_CREDENTIALS
project: my-project
model: gemini-2.0-flash-exp
prompt: "Write a haiku about cloud computing"
temperature: 0.7
| Action | 说明 |
|---|---|
gke-deploy | 部署到 Google Kubernetes Engine |
gcr-push | 推送镜像到 Google Container Registry |
gcs-sync | 同步文件到 Google Cloud Storage |
vertex-ai | 使用 Vertex AI 进行模型推理(新增) |
gcloud | 执行自定义 gcloud 命令 |
从 v1.0.0 升级到 v1.1.0:
docker pull cnbcool/gcloud:v1.1.0感谢所有贡献者的付出!
查看 PR #2 了解详细变更。