File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ ${_DISTROS:%=image-rpmbuild-%}: image-rpmbuild-%:
8282 buildah run $$container ${PKGMGR} install -y ${RPMBUILD_PACKAGES} && \
8383 buildah run $$container ${PKGMGR} clean all && \
8484 buildah run $$container python3 -m pip install jinja2-cli && \
85- buildah commit $$container ${PB_CONTAINER_REG}/pbench-rpmbuild:${*}
85+ buildah commit --rm $$container ${PB_CONTAINER_REG}/pbench-rpmbuild:${*}
8686
8787ci.fedora.Dockerfile : ci.Dockerfile.j2
8888 jinja2 ci.Dockerfile.j2 \
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ pipeline {
130130 | sort -u \
131131 | xargs podman image rm -f \
132132 || true'
133+ sh 'buildah rm --all'
133134 }
134135 }
135136}
Original file line number Diff line number Diff line change @@ -84,4 +84,4 @@ buildah run $container systemctl enable pbench-server
8484buildah run $container systemctl enable pbench-index.timer
8585
8686# Create the container image.
87- buildah commit $container ${PB_CONTAINER_REG} /${PB_SERVER_IMAGE_NAME} :${PB_SERVER_IMAGE_TAG}
87+ buildah commit --rm $container ${PB_CONTAINER_REG} /${PB_SERVER_IMAGE_NAME} :${PB_SERVER_IMAGE_TAG}
You can’t perform that action at this time.
0 commit comments