about summary refs log tree commit diff stats
path: root/.ko.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.ko.yaml')
-rw-r--r--.ko.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.ko.yaml b/.ko.yaml
new file mode 100644
index 0000000..27d9e7d
--- /dev/null
+++ b/.ko.yaml
@@ -0,0 +1,11 @@
+defaultPlatforms:
+  - linux/amd64
+builds:
+  - id: alanpearce-eu
+    main: cmd/server
+    flags:
+      - -tags
+      - embed
+    ldflags:
+      - -X internal/server.CommitSHA={{ .Git.FullCommit }}
+      - -X internal/server.ShortSHA={{ .Git.ShortCommit }}