ci: share Linux restore artifacts before builds [CI]
ci/woodpecker/push/web-build Pipeline was successful
ci/woodpecker/push/verify Pipeline failed
ci/woodpecker/push/dev-image Pipeline failed

This commit is contained in:
justme committed 2026-10-21 13:31:07 +08:00
1 parent a6f9759238
commit 806493567b
13 files changed
+211 -82

No files matched your search

+5
View File
@@ -22,6 +22,11 @@ moshiro_setup_buildah() {
# The outer Podman container provides the user namespace and capabilities;
# RUN does not need a second OCI runtime or nested cgroup management.
export BUILDAH_ISOLATION="${BUILDAH_ISOLATION:-chroot}"
local info_fd
exec {info_fd}> "$store_home/.info.lock"
flock -w 900 "$info_fd" || { echo "could not lock Buildah info for $store_home" >&2; return 1; }
buildah info >/dev/null
flock -u "$info_fd"
exec {info_fd}>&-
echo "Buildah store: $store_home/.local/share/containers/storage ($BUILDAH_ISOLATION)"
}