]> git.armaanb.net Git - tall.bot.git/blob - .build.yml
run `docker build` as build user
[tall.bot.git] / .build.yml
1 image: archlinux
2 packages:
3   - docker
4 sources:
5   - https://git.sr.ht/~armaan/tall.bot
6 secrets:
7   - cfca6590-dec3-46f3-abf0-3bce5c907e4a
8 tasks:
9   - prep: |
10       sudo systemctl start docker
11       cat ~/docker.txt | docker login --username armaancicd --password-stdin
12   - build: |
13       cd tall.bot
14       docker build -t armaanb/tall.bot:latest .
15   - push: |
16       docker push armaanb/tall.bot