ci: test changes
Some checks failed
Build containers / Build and push image (asahi-cosmic, 43) (push) Failing after 18s

This commit is contained in:
2026-02-27 22:21:40 +01:00
parent 5899034478
commit 544edaf822
2 changed files with 59 additions and 28 deletions

View File

@@ -25,7 +25,9 @@ if [[ ! -f "$MANIFEST" ]]; then
echo "Manifest not found: $MANIFEST"
exit 1
fi
if [[ -d "$OUTPUT" ]]; then
echo "Removing stale OCI directory: $OUTPUT" rm -rf "$OUTPUT"
fi
# --- PREPARE OSTREE REPO ---
mkdir -p repo cache
if [[ ! -f "repo/config" ]]; then
@@ -70,7 +72,7 @@ ARGS=(
"--cachedir=cache"
)
rpm-ostree compose rootfs \
rpm-ostree compose image \
"${ARGS[@]}" \
"$MANIFEST" \
"$OUTPUT"