aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2025-12-31 23:54:13 +0100
committerPolesznyák Márk <contact@pml68.dev>2026-01-01 00:12:03 +0100
commita636c1336acc4ff0c614109ac49296c285258752 (patch)
tree3022f39a141ce40c174298fbf6355314d0cc7820
parentchore: remove GitHub workflow (diff)
downloadnvim-a636c1336acc4ff0c614109ac49296c285258752.tar.gz
feat: add build manifest
-rw-r--r--.build.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..1cb28f0
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,31 @@
+image: alpine/edge
+shell: false
+secrets:
+ - 0130dc19-7ca3-4091-89b7-446b5afe735b
+packages:
+ - docker
+triggers:
+ - action: email
+ condition: failure
+ to: <~pml68/public-inbox@lists.sr.ht>
+tasks:
+ - environment: |
+ cd nvim-setup
+
+ [ "$BUILD_SUBMITTER" = "git.sr.ht" ] || complete-build
+ [ "$GIT_REF" = "refs/heads/master" ] || complete-build
+ [ "$(git remote get-url origin)" = "https://git.sr.ht/~pml68/nvim-setup" ] || complete-build
+
+ sudo service docker start
+ - docker-build: |
+ cd nvim-setup
+
+ sudo docker build -t ghcr.io/pml68/neovim:latest .
+ - docker-login: |
+ set +x
+ cat ~/GH_PAT | sudo docker login ghcr.io -u pml68 --password-stdin
+ set -x
+ - docker-push: |
+ cd nvim-setup
+
+ sudo docker push ghcr.io/pml68/neovim:latest