add aur_builder timer

This commit is contained in:
2026-01-02 15:47:12 -05:00
parent 1c484c806d
commit 29bd64433b
3 changed files with 26 additions and 0 deletions

11
systemd/README.md Normal file
View File

@@ -0,0 +1,11 @@
# Setup
```bash
docker login gitea.balki.me
ln -snf $PWD/systemd/aur_builder_image_gen.service ~/.config/systemd/user/
ln -snf $PWD/systemd/aur_builder_image_gen.timer ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable --now aur_builder_image_gen.timer
```

View File

@@ -0,0 +1,7 @@
[Unit]
Description=Build aur_builder image and push to gitea
[Service]
Type=oneshot
WorkingDirectory=/home/balki/projects/mine/aur_builder
ExecStart=|podman build --pull=newer -t gitea.balki.me/balki/aur_builder:latest . && podman push gitea.balki.me/balki/aur_builder:latest

View File

@@ -0,0 +1,8 @@
[Unit]
Description=Daily timer to build aur_builder image
[Timer]
OnCalendar=08:05
[Install]
WantedBy=timers.target