about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.drone.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..0cc1221
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,24 @@
+kind: pipeline
+name: default
+
+platform:
+    os: linux
+    arch: amd64
+
+steps:
+- name: build
+  image: golang:latest
+  commands:
+  - go build -o faila ./..
+
+- name: docker
+  image: plugins/docker
+  settings:
+      tags:
+        - latest
+      repo: registry.darknebu.la/emile/faila
+      registry: registry.darknebu.la
+      username:
+        from_secret: docker_username
+      password:
+        from_secret: docker_password