version: 43 jobs: - name: 构建项目 steps: - type: CheckoutStep name: 拉取代码 cloneCredential: type: DefaultCredential withLfs: false withSubmodules: false checkoutPath: '@project_path@' condition: SUCCESSFUL optional: false - type: BuildImageStep name: 构建docker镜像 buildPath: '@project_path@' output: type: RegistryOutput tags: '@server@/recipe_tool/recipe_tool:latest' registryLogins: - registryUrl: https://git.hanhan.ltd userName: '@job_token@' passwordSecret: docker-push condition: SUCCESSFUL optional: false jobExecutor: docker triggers: - type: BranchUpdateTrigger branches: main userMatch: anyone projects: recipe_tool retryCondition: never maxRetries: 3 retryDelay: 30 timeout: 14400