fix: use local context for chunkah rechunk to fix missing out.ociarchive
This commit is contained in:
@@ -107,12 +107,17 @@ jobs:
|
||||
# --max-layers 128: Desktop-Images brauchen mehr als Default (64)
|
||||
# --prune /sysroot/: entfernt OSTree-Metadaten (optional seit bootc 1.1.3)
|
||||
# --label ostree.*: entfernt gueltigkeitsfaehige ostree-Labels
|
||||
CHUNKAH_DIR=$(mktemp -d)
|
||||
curl -sL https://github.com/coreos/chunkah/releases/download/v0.5.0/Containerfile.splitter -o "$CHUNKAH_DIR/Containerfile"
|
||||
|
||||
buildah build --skip-unused-stages=false \
|
||||
--from "$IMG" \
|
||||
--build-arg CHUNKAH_CONFIG_STR="$CONFIG" \
|
||||
--build-arg "CHUNKAH_ARGS=--prune /sysroot/ --max-layers 128 --compressed --label ostree.commit- --label ostree.final-diffid-" \
|
||||
-t "$CHUNKED_IMG" \
|
||||
https://github.com/coreos/chunkah/releases/download/v0.5.0/Containerfile.splitter
|
||||
"$CHUNKAH_DIR"
|
||||
|
||||
rm -rf "$CHUNKAH_DIR"
|
||||
|
||||
# Platz freigeben: Original und Zwischenprodukt entfernen
|
||||
buildah rmi "$IMG"
|
||||
|
||||
Reference in New Issue
Block a user