simpler this way

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2021-03-01 08:36:30 +03:00
parent 477140947f
commit 46b91d02bf

View File

@ -7,9 +7,7 @@ mkdir "/tmp/$did"
pkg_dest=$1
pkg_url=$2
cd /home/containers/builder
podman build -t "$did" --force-rm .
podman run --rm -v "/tmp/$did:/buildroot" "$did:latest" /build "$pkg_url"
podman run --rm -v "/tmp/$did:/buildroot" "autobuilder:latest" /build "$pkg_url"
artifacts=( "/tmp/$did/"*.pkg.* )
for i in "${artifacts[@]}"; do