Browse Source

Restrict more the CI

Dashie der otter 1 week ago
parent
commit
a0cf6b2471
Signed by: Dashie <dashie@sigpipe.me> GPG Key ID: C2D57B325840B755
1 changed files with 8 additions and 2 deletions
  1. 8
    2
      .drone.yml

+ 8
- 2
.drone.yml View File

@@ -80,7 +80,10 @@ steps:
80 80
       from_secret: DOCKER_USERNAME
81 81
   when:
82 82
     branch:
83
-    - master
83
+      - master
84
+    event:
85
+      - push
86
+      - tag
84 87
 
85 88
 - name: publish-worker
86 89
   pull: default
@@ -97,7 +100,10 @@ steps:
97 100
       from_secret: DOCKER_USERNAME
98 101
   when:
99 102
     branch:
100
-    - master
103
+      - master
104
+    event:
105
+      - push
106
+      - tag
101 107
 
102 108
 - name: notify
103 109
   pull: default

Loading…
Cancel
Save