Skip to content

Commit 38bb78f

Browse files
troglobitclaude
andcommitted
Fix tarball structure for podman/docker load compatibility
Remove directory wrapper from OCI tarballs to support podman load and docker load commands. These tools expect OCI layout files (blobs/, index.json, oci-layout) at the tarball root, not wrapped in a directory. Changes: - Use 'tar -C dir .' instead of 'tar dir' to archive contents without wrapper - Tarballs now have OCI files at root level for direct loading Fixes #21 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 6ab13d5 commit 38bb78f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
mv ${fn}/rootfs-oci ${name}-oci-${arch}${SFX}
123123
mv ${fn}/COPYING ${name}-oci-${arch}${SFX}/
124124
rm -rf -- ${name}-oci-${arch}${SFX}/.[!.]*
125-
tar cfz ${name}-oci-${arch}${SFX}.tar.gz ${name}-oci-${arch}${SFX}
125+
tar cfz ${name}-oci-${arch}${SFX}.tar.gz -C ${name}-oci-${arch}${SFX} .
126126
done
127127
ls -la *-oci*${SFX}/
128128
for file in *.tar.gz; do

0 commit comments

Comments
 (0)