内置 Tool Images 选择指南

此页面可帮助你快速为 pipeline 步骤选择合适的 tool image。它提供三种查找方式:

  1. 按场景选择 Image — 我需要做什么?应该使用哪个 image?
  2. 按工具查找 Image — 我需要某个特定工具。哪些 image 包含它?
  3. Image 详情 — 每个 image 的完整信息:registry、tag、工具以及使用边界。

注意:本文档中的所有 image 地址均使用 registry.alauda.cn:60070 作为示例前缀。在运行时,这会自动替换为你环境中的实际 registry 地址。


按场景选择 Image

快速开始:找到当前 pipeline 步骤的职责,并直接使用推荐的 image。

类别场景推荐 Image说明
Source Control代码 clone、checkout、submodulesgit-init专用的 git clone image,支持认证和 submodule
GitLab MR / 仓库自动化glab用于创建 MR、发表评论和合并的 GitLab CLI
BuildGo build 和 testgolang完整的 Go toolchain,包含 golangci-lint
Java build、test 和 packagemavenMaven + JDK 21
.NET build、test 和 publishdotnet用于应用编译的 .NET SDK LTS image
Python 脚本和测试pythonPython + pip
Node.js build 和 testnodejsNode.js LTS runtime
Image & ArtifactOCI image build 和 pushbuildahRootless build,无需 Docker daemon
多架构 manifest 合并(merge-image Task)、复制、重新打标签以及 registry 同步crane使用 crane index append 在不经过 build 阶段的情况下组合并发布 manifest list
Helm chart 打包和发布helm包含 oras、kubectl、yq
Security & ComplianceImage/filesystem 漏洞扫描trivy预加载漏洞数据库
SBOM 生成syft包含 cosign,可选用于签名
Image 签名和验证cosign支持 keyless 和 attestation
代码质量扫描sonarqube-scannerSonarQube Scanner + JDK 21
SonarQube 前/后置脚本sonarqube-shell用于 SonarQube workflow 的最小 bash 环境
SonarQube 辅助 CLIsonarqube-cli用于 bridging steps 的自定义 sonar CLI
Deploy & OperationsKubernetes 资源部署kubectlkubectl + yq
Application CRD 管理kubectl-app-managerkubectl-application plugin + kubectl
GitOps manifest 渲染kustomizekustomize + yq + git
General执行脚本、轻量自动化run-script最小化 Alpine,包含 bash/curl/tar
邮件通知msmtp轻量级 SMTP 客户端

按工具查找 Image

已经知道你需要哪个工具?查找包含该工具的所有 image,并选择最适合你场景的一个。


Image 详情

完整地址格式:<registry>:<tag>,例如 registry.alauda.cn:60070/devops/tektoncd/hub/kubectl:latest。

General

run-script

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/run-script
Taglatest
v3.21
Main Toolsbash 5.x
Bundled Toolscurl, tar
Best For一般脚本任务、快速原型、轻量自动化
Not Recommended当需要 Java/Go/Helm/Kustomize 或其他专用 toolchain 时

msmtp

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/msmtp
Taglatest
v1.8
Main Toolsmsmtp 1.8
Bundled Toolsbash, openssl, ca-certificates
Best For在 pipeline 步骤完成后发送邮件通知
Not Recommended非邮件场景;当需要其他工具时请使用 run-script

Source Control

git-init

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/git-init
Taglatest
v1.1
Main Toolsgit-init 1.1
Bundled Toolsgit
Best For仓库 clone、checkout、submodule 处理、认证 clone
Not Recommended与代码 checkout 无关的 build、scan 或 deploy 步骤

glab

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/glab
Taglatest
v1.82
Main Toolsglab 1.82
Bundled Toolsgit, jq, curl
Best ForGitLab MR、仓库协作、GitLab 自动化
Not Recommended非 GitLab 的 pipeline 步骤

Build

golang

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/golang
Taglatest
v1.26
Main ToolsGo 1.26
Bundled Toolsgolangci-lint 2.9
Best ForGo build、test、lint 和 release workflow
Not RecommendedJava/Python build workflow

maven

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/maven
Taglatest
v3.9-jdk21
Main ToolsMaven 3.9, JDK 21
Bundled Toolsshell runtime
Best ForJava 项目的 build、test、package 和 publish
Not Recommended非 Java 技术栈,或需要 Gradle/SBT 的场景

python

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/python
Taglatest
v3.13
Main ToolsPython 3.13
Bundled Toolspip
Best For执行 Python 脚本、测试和工具任务
Not RecommendedJava/Go build workflow

dotnet

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/dotnet
Taglatest
v10.0
Main Tools.NET SDK 10.0 (LTS)
Bundled Toolsdotnet CLI
Best For.NET restore/build/test/publish workflow
Not RecommendedOCI image build/push workflow(使用 buildah)

nodejs

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/nodejs
Taglatest
v24
v24.14
Main ToolsNode.js 24
Bundled Toolsnpm
Best ForNode.js 项目的 build、test 和 packaging workflow
Not RecommendedGo/Java/Python build workflow

Image & Artifact

buildah

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/buildah
Taglatest
v1.33
Main Toolsbuildah 1.43(image tag v1.33 是 image 版本;tool 版本是 1.43)
Bundled Toolsrootless build support
Best ForOCI image build 和 push
Not Recommended仅用于漏洞扫描、签名或 SBOM 生成

crane

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/crane
Taglatest
v0.20
Main Toolscrane 0.21(image tag 包含 v0.20)
Bundled Toolsjq
Best For多架构 image 合并(manifest list 组合/发布,用于 merge-image Task),以及 OCI image copy、重新打标签、tag 列表和跨 registry 同步
Not Recommendedimage build workflow(使用 buildah)、漏洞扫描(trivy)或签名(cosign)

helm

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/helm
Taglatest
v4.1
v3.18
Main Toolshelm 4.1(v4.1 tag)/ helm 3.18(v3.18 tag)
Bundled Toolsoras 1.3, kubectl 1.33, yq 4.47
Best ForHelm chart 打包、发布、安装和升级
Not Recommended通用资源 patch 或纯 Kustomize workflow

Security & Compliance

trivy

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/trivy
Taglatest
v0.65
Main Toolstrivy 0.65
Bundled Toolsbash, curl, jq
Best Forimage、filesystem 和 manifest 漏洞扫描;预加载 DB,无需网络更新
Not Recommended需要签名/验证或 SBOM 生成时

syft

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/syft
Taglatest
v1.42
Main Toolssyft 1.42(image tag v1.42 与 syft binary 版本一致)
Bundled Toolscosign 2.6
Best ForSBOM 生成、供应链材料输出
Not Recommended仅签名(使用 cosign)或仅漏洞扫描(使用 trivy)

cosign

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/cosign
Taglatest
v2.5
Main Toolscosign 2.6(image tag v2.5 是 image 版本;tool 版本是 2.6)
Bundled Toolsbash, curl, jq
Best Forimage/artifact 签名、验证、attestation
Not Recommended需要 SBOM 生成或漏洞扫描时

sonarqube-scanner

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/sonarqube-scanner
Taglatest
v8.0
Main Toolssonar-scanner 8.0, JDK 21
Bundled Toolsgit
Best ForSonarQube 代码扫描和 quality gate
Not Recommended脚本执行、代码 checkout 或 image build 步骤

sonarqube-shell

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/sonarqube-shell
Taglatest
v4.7
Main Toolsbash(继承自 base image)
Bundled Tools—
Best ForSonarQube pipeline workflow 中的前/后处理脚本
Not Recommended作为主扫描 image(请改用 sonarqube-scanner)

sonarqube-cli

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/sonarqube-cli
Taglatest
v4.7
Main Toolssonar(自定义辅助 CLI)
Bundled Toolsenv-entrypoint script
Best ForSonarQube workflow 中的辅助处理和 bridging steps
Not Recommended作为主扫描器的替代品,或通用 pipeline base

Deploy & Operations

kubectl

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/kubectl
Taglatest
v1.33
Main Toolskubectl 1.33
Bundled Toolsyq 4.47
Best ForKubernetes 资源 apply/patch/rollout 和通用操作
Not Recommended需要 Helm release workflow 或 Application CRD plugin 时

kubectl-app-manager

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/kubectl-app-manager
Taglatest
v0.1
Main Toolskubectl-application, kubectl 1.33
Bundled Toolsyq 4.47
Best ForApplication CRD 生命周期管理和发布
Not Recommended通用 Kubernetes 操作(优先使用 kubectl)
Usage Guide使用 run-script Task 管理 ACP Application

kustomize

字段内容
Registryregistry.alauda.cn:60070/devops/tektoncd/hub/kustomize
Taglatest
v5.8
Main Toolskustomize 5.8
Bundled Toolsyq 4.47, git
Best ForGitOps manifest 渲染、overlay 和 patch 更新
Not Recommended直接在线变更集群(优先使用 kubectl)

注意:

  • 所有 image 都以 UID 65532(non-root user)运行。
  • latest 通常指向最新的固定 tag,但可能引入 major version 变更。如果稳定性优先,请使用固定 tag。
  • 工具版本精确到 major.minor 级别;patch 版本会随着 image 更新自动升级。