Skip to content

Commit

Permalink
update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirari04 committed Jun 25, 2024
1 parent c3817ef commit e558118
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
export DOCKER_BUILDKIT=1

# Prompt the user for confirmation
read -p "Do you want to run the Binary Build Script? (yes/no): " answerbin
read -p "Do you want to run the Build for linux/amd64? (yes/no): " answerbin
read -p "Do you want to run the Build for linux/arm64? (yes/no): " answerbinarm
if [ "$answerbin" = "yes" ]; then
# echo RUNNING DOCKER BUILD AMD64
docker build . --platform linux/amd64 -f Dockerfile -t kirari04/videocms:alpha --push
# gpg --detach-sig --armor build/cmd/main_linux_amd64.bin
fi

if [ "$answerbin" = "yes" ]; then
if [ "$answerbinarm" = "yes" ]; then
## arm64
# echo RUNNING DOCKER BUILD ARM64
docker build . --platform linux/arm64 -f Dockerfile.arm64 -t kirari04/videocms:alpha_arm64 --push
Expand Down

0 comments on commit e558118

Please sign in to comment.