Skip to content

Commit

Permalink
Update build_docker7.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlan-00 committed May 20, 2024
1 parent eda49ce commit 5c4781b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_docker7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ if [ $BRANCH = "preview" ]; then
fi
if [ ! -f $AMPACHEDIR/docker/ampache-docker-nosql-preview/Dockerfile ]; then
rm -rf $AMPACHEDIR/docker/ampache-docker-nosql-preview
cd $AMPACHEDIR/docker && git clone -b preview https://github.com/ampache/ampache-docker.git ampache-docker-nosql-preview
cd $AMPACHEDIR/docker && git clone -b nosql-preview https://github.com/ampache/ampache-docker.git ampache-docker-nosql-preview
fi
cd $AMPACHEDIR/docker/ampache-docker-nosql-preview/ && git checkout preview && git reset --hard origin/preview && git pull && docker buildx build --no-cache --platform linux/amd64,linux/arm64,linux/arm/v7 -t ampache/ampache:nosql-preview --push . &
cd $AMPACHEDIR/docker/ampache-docker-nosql-preview/ && git checkout nosql-preview && git reset --hard origin/nosql-preview && git pull && docker buildx build --no-cache --platform linux/amd64,linux/arm64,linux/arm/v7 -t ampache/ampache:nosql-preview --push . &
fi

# go home
Expand Down

0 comments on commit 5c4781b

Please sign in to comment.