Pull container images before re-tagging them in build script

Podman (and also docker I think) requires the image to be present
locally in order to be able to retag them. If that is not the case an
error will occur.
This commit is contained in:
Lilian 2025-01-27 21:22:27 +01:00
parent c49ae7b783
commit cb2d88c948
Signed by: lilian
SSH key fingerprint: SHA256:334IVJmdjX7QiiuJ4sii5B4d/GjievWr8cscDleLhSU

View file

@ -10,6 +10,9 @@ for container in "$BASEDIR"/Containerfile.*; do
done done
# extra container tags and pushes for things that we dont build, but need # extra container tags and pushes for things that we dont build, but need
podman pull data.forgejo.org/oci/alpine:latest
podman pull ghcr.io/catthehacker/ubuntu:act-24.04
podman tag data.forgejo.org/oci/alpine:latest git.ctbk.de/infra/alpine:latest podman tag data.forgejo.org/oci/alpine:latest git.ctbk.de/infra/alpine:latest
podman tag ghcr.io/catthehacker/ubuntu:act-24.04 git.ctbk.de/infra/ubuntu:act-24.04 podman tag ghcr.io/catthehacker/ubuntu:act-24.04 git.ctbk.de/infra/ubuntu:act-24.04