diff --git a/.drone.yml b/.drone.yml index 50ae3c0..7e3a755 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,22 +3,19 @@ type: docker name: default steps: -- name: node-build - image: node:20.12 - commands: - - npm install -g cnpm - - cnpm install - - cnpm install -g increase-memory-limit cross-env - #- export NODE_OPTIONS=--max_old_space_size=4096 - - cnpm run build:uat - - ls -l - - name: build-and-push image: plugins/docker - registry: xx:io - dockerfile: ./Dockerfile-rc1 - tags: latest -# drone执行触发器1 + settings: + registry: registry.cn-shenzhen.aliyuncs.com + repo: registry.cn-shenzhen.aliyuncs.com/jbjb/k8s-images/www-web + #tags: [ latest, v1.0 ] + #context: ./ + dockerfile: ./Dockerfile + tags: latest00 + username: + from_secret: docker_username + password: + from_secret: docker_password trigger: branch: - main \ No newline at end of file