simpler this way
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
477140947f
commit
46b91d02bf
|
@ -7,9 +7,7 @@ mkdir "/tmp/$did"
|
||||||
pkg_dest=$1
|
pkg_dest=$1
|
||||||
pkg_url=$2
|
pkg_url=$2
|
||||||
|
|
||||||
cd /home/containers/builder
|
podman run --rm -v "/tmp/$did:/buildroot" "autobuilder:latest" /build "$pkg_url"
|
||||||
podman build -t "$did" --force-rm .
|
|
||||||
podman run --rm -v "/tmp/$did:/buildroot" "$did:latest" /build "$pkg_url"
|
|
||||||
|
|
||||||
artifacts=( "/tmp/$did/"*.pkg.* )
|
artifacts=( "/tmp/$did/"*.pkg.* )
|
||||||
for i in "${artifacts[@]}"; do
|
for i in "${artifacts[@]}"; do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user