Browse Source

drone: allow build to use more CPUs

Ask Bjørn Hansen 4 years ago
parent
commit
3420d3dc08
1 changed files with 7 additions and 0 deletions
  1. 7 0
      .drone.yml

+ 7 - 0
.drone.yml

@@ -36,6 +36,13 @@ steps:
 
   - name: goreleaser
     image: golang:1.16.7
+    resources:
+      requests:
+        cpu: 3000
+        memory: 512MiB
+      limits:
+        cpu: 6000
+        memory: 2048MiB
     volumes:
       - name: cache
         path: /go