Browse Source

Make CI automatically create Docker images

master
Timur Demin 4 weeks ago
parent
commit
8a8a75e3ff
Signed by: Timur Demin <me@tdem.in> GPG Key ID: 9EDF3F9D9286FA20
1 changed files with 17 additions and 0 deletions
  1. 17
    0
      .drone.yml

+ 17
- 0
.drone.yml View File

@@ -8,3 +8,20 @@ steps:
8 8
   - pip install pylint
9 9
   - pip install -r requirements.txt
10 10
   - pylint project_amber
11
+- name: push to registry
12
+  image: plugins/docker
13
+  settings:
14
+    username:
15
+      from_secret: username
16
+    password:
17
+      from_secret: password
18
+    repo: registry.git.tdem.in/amber
19
+    registry: registry.git.tdem.in
20
+    auto_tag: true
21
+    dockerfile: Dockerfile
22
+  when:
23
+    branch:
24
+    - master
25
+    event:
26
+    - push
27
+    - tag

Loading…
Cancel
Save