Compare commits
2 commits
f6fb39388e
...
ada765d25f
| Author | SHA1 | Date | |
|---|---|---|---|
| ada765d25f | |||
| 5dd3dfbcdd |
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue