about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhanemile <mail@emile.space>2020-07-19 17:25:29 +0200
committerhanemile <mail@emile.space>2020-07-19 17:25:29 +0200
commitcb29d50aea4aa4286964ea6a5ffb8ab393c410e1 (patch)
tree81125d641b2e3cc139df6da5d870b3169c24cb1b
parent456380a5238e9b29ecdb7ef6023fe167a96403f1 (diff)
drone file
-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
+