This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
悟空升级后,ci后端采用k8s,变化较大,下面是使用示例 更详细信息请访问https://woodpecker-ci.org/docs/intro
variables: - &platforms linux/arm64/v8,linux/amd64 clone: - name: clone image: harbor.tdology.com/woodpeckerci/plugin-git settings: skip-verify: true remote: https://wukong.tdology.com/picloud/gitea.git when: event: - pull_request - tag steps: - name: build image: harbor.tdology.com/woodpeckerci/plugin-docker-buildx:3.1.0 privileged: true settings: buildkit_driveropt: - "image=harbor.tdology.com/moby/buildkit:buildx-stable-1" mirror: harbor.tdology.com registry: harbor.tdology.com repo: harbor.tdology.com/gitea/gitea dockerfile: Dockerfile platforms: *platforms tags: latest,v1-${CI_COMMIT_SHA:0:8} context: . username: from_secret: harbor-user password: from_secret: harbor-pass when: event: - pull_request - name: release image: harbor.tdology.com/woodpeckerci/plugin-docker-buildx:3.1.0 privileged: true settings: buildkit_driveropt: - "image=harbor.tdology.com/moby/buildkit:buildx-stable-1" mirror: harbor.tdology.com registry: harbor.tdology.com repo: harbor.tdology.com/gitea/gitea auto_tag: true dockerfile: Dockerfile platforms: *platforms context: . mtu: 1400 username: from_secret: harbor-user password: from_secret: harbor-pass when: event: - tag
clone: - name: clone image: harbor.tdology.com/woodpeckerci/plugin-git settings: skip-verify: true remote: https://wukong.tdology.com/picloud/gitea.git when: event: - pull_request - tag build-web: image: harbor.tdology.com/library/node:21-alpine directory: web/ commands: - corepack enable - yarn config set registry http://nexus.tdology.com/repository/npm/ - yarn install --frozen-lockfile --network-timeout 100000 - yarn build when: - event: - pull_request - tag
Deleting the wiki page "悟空升级后pipeline 示例" cannot be undone. Continue?