ci: bake cached toolchain into Podman agent and fix nested Buildah [CI]

This commit is contained in:
justme committed 2026-10-10 05:44:21 -07:00
1 parent 2e1dbcf4ce
commit 1975253beb
18 files changed
+215 -29

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
mkdir -p /home/justme/woodpecker/work "$NUGET_PACKAGES" "$NUGET_SCRATCH"
chmod 700 "$NUGET_SCRATCH"
# Seed the persistent application restore cache from the baked SDK/Zig packs.
# Existing package versions are reused; this copies files without downloading.
cp -a -n /root/.nuget/packages/. "$NUGET_PACKAGES/"
exec /usr/local/bin/woodpecker-agent "$@"