Browse Source

Refactor .drone.yml a little

master
Jesper Hess Nielsen 3 months ago
parent
commit
95971f9f7d
Signed by: Jesper Hess Nielsen <jesper@graffen.dk> GPG Key ID: 351A89E40D763F0F
1 changed files with 10 additions and 9 deletions
  1. 10
    9
      .drone.yml

+ 10
- 9
.drone.yml View File

@@ -11,15 +11,16 @@ steps:
11 11
   
12 12
   - name: docker
13 13
     image: plugins/docker
14
-    repo: docker.data.coop/cryptohagen-website
15
-    registry: docker.data.coop
16
-    username:
17
-      from_secret: DOCKER_USERNAME
18
-    password:
19
-      from_secret: DOCKER_PASSWORD
20
-    tag: 
21
-      - "${DRONE_BUILD_NUMBER}"
22
-      - "latest"
14
+    settings:
15
+      repo: docker.data.coop/cryptohagen-website
16
+      registry: docker.data.coop
17
+      username:
18
+        from_secret: DOCKER_USERNAME
19
+      password:
20
+        from_secret: DOCKER_PASSWORD
21
+      tags:
22
+        - "${DRONE_BUILD_NUMBER}"
23
+        - "latest"
23 24
     when:
24 25
       branch:
25 26
         - master

Loading…
Cancel
Save