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