--- kind: pipeline type: docker name: main-automated-pipeline # 启用模板 clone: disable: false trigger: event: - push - promote - manual steps: - name: print-auto-run image: alpine:latest 仓库唯一标识UID: $REPO_UID when: event: push branch: main environment: REPO_UID: "{{ .repo.uid }}" commands: - echo =================================== - echo 这是自动运行的流水线 - echo 自动运行 - echo ===================================