liubing 10 months ago
parent
commit
cc32efd38f
1 changed files with 8 additions and 2 deletions
  1. 8 2
      .drone.yml

+ 8 - 2
.drone.yml

@@ -4,6 +4,12 @@ name: default
 
 steps:
   - name: build
-    image: docker
+    image: node:21-alpine
     commands:
-      - docker build -t your-image-name .
+      - npm run build:prod
+	    - git rev-parse --short HEAD > dist/version
+
+- name: docker  
+  image: plugins/docker
+  settings:
+    repo: reg.cestong.com.cn/cecf/observe-front