Skip to content

Commit 6db545c

Browse files
authored
Merge pull request #17 from bitdeps/buildah-fixture
drop --tls-verify in buildah.sh script
2 parents 9d07b16 + d4d12d3 commit 6db545c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

runners/buildah.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
#!/bin/sh
2+
3+
## Filter args (omit podman incompatible)
4+
for arg do
5+
shift
6+
( echo "$arg" |
7+
grep -Ew '\--tls-verify=[^ ]{1,}' 1>/dev/null 2>&1
8+
) && continue
9+
set -- "$@" "$arg"
10+
done
11+
212
# change buildah bud => podman build
313
if [ "$1" = "bud" ]; then shift; set -- build "$@"; fi
414
exec /runner/tools/bin/podman "$@"

0 commit comments

Comments
 (0)