yangxg hace 2 años
padre
commit
f4cb8b258b
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. 2 2
      .drone.yml
  2. 1 0
      nginx.conf

+ 2 - 2
.drone.yml

@@ -23,7 +23,7 @@ steps:
       mirror: https://ci7pm4nx.mirror.aliyuncs.com
       registry: hub.evbj.easou.com
       repo: hub.evbj.easou.com/pro/${DRONE_REPO_NAME}
-      tag: r23
+      tag: r24
      
   - name: deployment
     image: hub.evbj.easou.com/dev/drone-agent:v3.0.1
@@ -32,7 +32,7 @@ steps:
     environment:
       JNLP_ENV: pro
       JNLP_REPLICAS: 1
-      JNLP_TAG: r23
+      JNLP_TAG: r24
       JNLP_VERSION: v1  # default v1, v2 for canary
       DEPLOY_ENV: k8s-2 # 可以选择把应用部署到集群:k8s-1 or k8s-2
       JNLP_REPO: hub.evbj.easou.com

+ 1 - 0
nginx.conf

@@ -56,6 +56,7 @@ http {
 
 
         location /images/ {
+            add_header Access-Control-Allow-Origin *;
             root   /data/material/;
             autoindex on;
         }