Compare commits

...

2 commits

2 changed files with 3 additions and 3 deletions

View file

@ -17,6 +17,6 @@ for container in "$BASEDIR"/Containerfile.*; do
base=$(basename "$container") base=$(basename "$container")
tag=${base#"Containerfile."} tag=${base#"Containerfile."}
podman build -t "git.ctbk.de/infra/$tag" --cpu-quota 50000 -f "$container" $BASEDIR podman build -t "git.ctbk.de/infra/$tag" --cpu-quota 50000 -f "$container" $BASEDIR
podman --authfile /etc/forgejo-actions/podman-auth.json push "git.ctbk.de/infra/$tag" podman push --authfile /etc/forgejo-actions/podman-auth.json "git.ctbk.de/infra/$tag"
done done

View file

@ -2,8 +2,8 @@
Description=Rebuild Forgejo Actions containers Description=Rebuild Forgejo Actions containers
[Timer] [Timer]
# every two weeks (1st and 15th of the month) # every month (on 1st of the month)
OnCalendar=*-*-1,15 03:00:00 OnCalendar=*-*-1 03:00:00
Persistent=true Persistent=true
RandomizedDelaySec=2h RandomizedDelaySec=2h