Skip to content

Commit

Permalink
Merge pull request #3 from jefflester/main
Browse files Browse the repository at this point in the history
Add buildx process to build and push images for amd64 and arm64 platforms
  • Loading branch information
naushadh authored Jul 3, 2023
2 parents 75e3e82 + 84ed436 commit 1f4123e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ set -euo pipefail
DEFAULT_TAG=naushadh/hive-metastore:latest
TAG=${TAG:-$DEFAULT_TAG}

docker build --tag "$TAG" .
docker push "$TAG"
docker buildx ls | grep multiarch || docker buildx create --name multiarch --use

docker buildx build --push \
--platform linux/arm64,linux/amd64 \
--tag "$TAG" \
.

0 comments on commit 1f4123e

Please sign in to comment.