Cory Sanin df6c38be37
All checks were successful
Docker Image CI / build (push) Successful in -1m17s
update readme
2025-05-21 16:53:16 -05:00
2025-05-21 16:43:00 -05:00
2023-02-04 23:37:23 -06:00
2023-02-04 23:37:23 -06:00
2023-02-05 17:51:32 -06:00
2023-02-04 23:37:23 -06:00
2023-02-04 23:37:23 -06:00
2023-12-08 13:57:03 -05:00
2023-02-04 22:59:19 -06:00
2025-05-21 16:53:16 -05:00
2023-02-05 00:18:32 -06:00

aur-deploy

Docker image that automates the updating of AUR packages or other git repositories

CI

Thanks to GitHub automatically disabling rehydration of my images, I've moved this project to my personal Gitea instance. Builds now run within Gitea.

Configuration

Use the provided docker-compose file as a guide.

aur-deploy takes environment variables:

Environment Variable Description
CRON Cron expression for how often aur-deploy should run the update routine. Default is 0 * * * *
REPO The address of the git repository to be modified

There are also some configuration files that are provided in /usr/volume/:

/usr/volume/
├── common
│   ├── gitconfig           # .gitconfig file
│   └── ssh                 # .ssh directory
│       ├── id_ed25519
│       └── id_ed25519.pub
└── script
    └── script.sh           # script that updates your PKGBUILD

Note that if the ssh directory is empty, a key will be automatically generated. Just add the public key to your AUR account.

script.sh

This script runs within the repository directory. It should check for an update and make the appropriate changes to the PKGBUILD file. No need to update the .SRCINFO and no need to stage PKGBUILD or .SRCINFO. All other files that aren't staged will be removed, so don't worry about cleaning up.

The script is also responsible for updating checksums. Consider using git diff --exit-code PKGBUILD || updpkgsums at the end of the script. This will only update checksums if a change is detected.

Description
Tool for automating the updating of AUR packages or other git repositories
Readme MIT 40 KiB
Languages
Shell 67.1%
Dockerfile 32.9%