blob: 1cb28f05d5ef7ea79165cd08932c1688dcca8291 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
|