diff options
author | Alan Pearce | 2024-06-25 18:02:18 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-25 18:09:28 +0200 |
commit | 398210c8ce4140de12720d3f16cc88284a146005 (patch) | |
tree | 2d8144b52870c97f8cd9b86738fd51b50cda0bf5 /.ko.yaml | |
parent | cd1125a213d742b5a89e8b60f0c7aafef13b8783 (diff) | |
download | website-398210c8ce4140de12720d3f16cc88284a146005.tar.lz website-398210c8ce4140de12720d3f16cc88284a146005.tar.zst website-398210c8ce4140de12720d3f16cc88284a146005.zip |
build with ko instead of nix
Diffstat (limited to '.ko.yaml')
-rw-r--r-- | .ko.yaml | 11 |
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 }} |