Prune unneeded images

This commit is contained in:
Jeffrey Serio 2024-03-06 10:30:37 -06:00
parent a3aca8eb55
commit 245bc3645b

View File

@ -13,6 +13,7 @@ compose-job:
BUILD_REPO: "/build-repo"
SOURCE_REPO: "/source-repo"
before_script:
- podman image prune -f
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
script:
- mkdir -p "$(pwd)/.tmp"
@ -41,6 +42,7 @@ nonfree-build-job:
BUILDAH_ISOLATION: chroot
FQ_IMAGE_NAME: "$CI_REGISTRY_IMAGE/vauxite-nonfree:39"
before_script:
- buildah prune -f
- buildah login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
script:
- container=$(buildah from git.hyperreal.coffee:5050/fedora-atomic/vauxite-build/vauxite:39)