Skip to content

Commit

Permalink
Merge pull request #127 from pmorelli92/multi-platform
Browse files Browse the repository at this point in the history
Added scripts for multi platform support
  • Loading branch information
jekiapp authored May 9, 2023
2 parents d39cec8 + e35b97d commit 69cfe84
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ fi

go build ../.

docker build -t "tkpd/gripmock:$1" .
docker buildx build --load -t "tkpd/gripmock:$1" --platform linux/amd64 .
10 changes: 10 additions & 0 deletions push.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

if [ "$1" = "" ]; then
echo "Version is empty"
exit 0
fi

go build ../.

docker buildx build --push -t "tkpd/gripmock:$1" --platform linux/amd64,linux/arm64 .

0 comments on commit 69cfe84

Please sign in to comment.