Skip to content

Commit

Permalink
💚 Fix build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
luoshuijs committed Mar 20, 2024
1 parent e246f28 commit b10cf17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ target_architectures=(
)

pull_docker_image() {
image="ghcr.io/gngpp/rust-musl-cross:$1"
image="ghcr.io/luoshuijs/rust-musl-cross:$1"
echo "Pulling $image"
docker pull $image
}

rmi_docker_image() {
image="ghcr.io/gngpp/rust-musl-cross:$1"
image="ghcr.io/luoshuijs/rust-musl-cross:$1"
echo "Removing $image docker image"
if [ "$rmi" = "true" ]; then
docker rmi $image
Expand All @@ -49,7 +49,7 @@ build_macos_target() {
}

build_linux_target() {
docker_image="ghcr.io/gngpp/rust-musl-cross:$1"
docker_image="ghcr.io/luoshuijs/rust-musl-cross:$1"

features=""
if [ "$1" = "armv5te-unknown-linux-musleabi" ] || [ "$1" = "arm-unknown-linux-musleabi" ] || [ "$1" = "arm-unknown-linux-musleabihf" ]; then
Expand Down Expand Up @@ -84,7 +84,7 @@ build_linux_target() {
}

build_windows_target() {
docker_image="ghcr.io/gngpp/rust-musl-cross:$1"
docker_image="ghcr.io/luoshuijs/rust-musl-cross:$1"

echo "Building $1"
docker run --rm -t \
Expand Down

0 comments on commit b10cf17

Please sign in to comment.