mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2026-11-16 19:40:57 +00:00
The buildah-image container mode hardcoded /var/lib/containers/storage
as the volume mount path. This is the rootful storage location and
fails with "permission denied" when the runner operates as a non-root
user (rootless podman stores data elsewhere).
Query `podman info --format '{{.Store.GraphRoot}}'` at runtime to
discover the actual storage root. Falls back to the previous hardcoded
path with a warning if detection fails.
Also adds vitest and unit tests for the container mode logic, and a
test job in CI.
Closes #174
Co-authored-by: Claude Opus 4.6 <[email protected]>
30 lines
640 B
JSON
30 lines
640 B
JSON
{
|
|
"compilerOptions": {
|
|
"rootDir": "src/",
|
|
"outDir": "out/",
|
|
|
|
"target": "es2024",
|
|
"lib": ["es2024"],
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"sourceMap": true,
|
|
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
"types": ["node"]
|
|
},
|
|
"include": [
|
|
"src/"
|
|
],
|
|
"exclude": [
|
|
"src/**/*.test.ts"
|
|
]
|
|
}
|