From ccea4e13076857f6034afae165408f9fbe09aea3 Mon Sep 17 00:00:00 2001 From: tranch Date: Tue, 1 Dec 2026 15:24:00 +0800 Subject: ci: try faster Chunkah rechunk on testing Use uncompressed intermediate layers and validate the rechunked image before publishing. --- .github/workflows/build.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db94eb6..30628d3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -196,23 +196,18 @@ jobs: "${IMAGE_NAME}" \ "${DEFAULT_TAG}" - # This is optional, this provides smaller delta updates - - name: Rechunk with rpm-ostree + # Split the image into layers for smaller delta updates. + - name: Rechunk with Chunkah id: rechunk run: | - sudo -E "$(command -v just)" ostree-rechunk \ + sudo -E "$(command -v just)" rechunk \ "${IMAGE_NAME}" \ "${DEFAULT_TAG}" - # If you are feeling adventurous, use the new distro agnostic rechunker - # https://github.com/coreos/chunkah - # You can delete the Rechunk with rpm-ostree portion then if you use this - #- name: Rechunk with Chunkah - # id: rechunk - # run: | - # sudo -E $(command -v just) rechunk \ - # ${IMAGE_NAME} \ - # ${DEFAULT_TAG} + - name: Validate rechunked image + run: | + sudo podman run --rm --entrypoint bootc \ + "${IMAGE_NAME}:${DEFAULT_TAG}" container lint - name: Generate Build Tags id: gen-build-tags -- cgit v1.2.3