container registry!
This commit is contained in:
parent
a55b81cece
commit
9ba49b1bb7
3 changed files with 12 additions and 2 deletions
|
@ -5,5 +5,13 @@ BASEDIR=/etc/forgejo-runner
|
|||
for container in "$BASEDIR"/Containerfile.*; do
|
||||
base=$(basename "$container")
|
||||
tag=${base#"Containerfile."}
|
||||
podman build -t "$tag" --cpu-quota 50000 -f "$container" $BASEDIR
|
||||
podman build -t "git.ctbk.de/infra/$tag" --cpu-quota 50000 -f "$container" $BASEDIR
|
||||
podman push "git.ctbk.de/infra/$tag"
|
||||
done
|
||||
|
||||
# extra container tags and pushes for things that we don’t build, but need
|
||||
podman tag data.forgejo.org/oci/alpine:latest git.ctbk.de/infra/alpine:latest
|
||||
podman tag ghcr.io/catthehacker/ubuntu:act-22.04 git.ctbk.de/infra/ubuntu:act-22.04
|
||||
|
||||
podman push git.ctbk.de/infra/alpine:latest
|
||||
podman push git.ctbk.de/infra/ubuntu:act-22.04
|
Loading…
Add table
Add a link
Reference in a new issue