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

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

View File

@@ -25,7 +25,10 @@ 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 +73,7 @@ ARGS=(
"--cachedir=cache"
)
rpm-ostree compose rootfs \
rpm-ostree compose image \
"${ARGS[@]}" \
"$MANIFEST" \
"$OUTPUT"