From 245bc3645b4c44c6072e37279e601a46acebbaa7 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio <23226432+hyperreal64@users.noreply.github.com> Date: Wed, 6 Mar 2024 10:30:37 -0600 Subject: [PATCH] Prune unneeded images --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 78f60d8..cbd02cd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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)