We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f231c89 commit 0885441Copy full SHA for 0885441
bin/y-build-like-sync
@@ -48,6 +48,7 @@ dest=$(cat skaffold.yaml | grep 'dest:' | awk '{ print $2 }')
48
dest=$(echo $dest | sed 's|^/||')
49
50
list=$(mktemp)
51
+# Wanted: a way to produce a build context like buildctl would
52
(cd $context; git ls-files -c -o --exclude-standard -- . || find . -type f) > $list
53
tar=$(mktemp)
54
tar --transform "s|^|$dest/|" --show-transformed-names -cvhf $tar -T $list --mode='ug+rw' --group=65534 --owner=65532
0 commit comments