parent
db03d88e1f
commit
9bb71f1938
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -ex
|
||||
|
||||
git clone -b $BUILD_FROM_BRANCH "https://github.com/$REPOSITORY.git" source
|
||||
cd source
|
||||
|
||||
pwsh ./ci/Publish.ps1 $runtime
|
||||
cp ./publish/$runtime/recyclarr ..
|
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
set -ex
|
||||
|
||||
# Determine the runtime from the target platform provided by Docker Buildx
|
||||
case "$TARGETPLATFORM" in
|
||||
"linux/arm/v7") runtime="linux-musl-arm" ;;
|
||||
"linux/arm64") runtime="linux-musl-arm64" ;;
|
||||
"linux/amd64") runtime="linux-musl-x64" ;;
|
||||
*) echo >&2 "ERROR: Unsupported target platform: $TARGETPLATFORM"; exit 1 ;;
|
||||
esac
|
||||
|
||||
if [ -z "$BUILD_FROM_BRANCH" ]; then
|
||||
. ./build-using-release.sh
|
||||
else
|
||||
. ./build-using-clone.sh
|
||||
fi
|
Loading…
Reference in new issue