Skip to content

Commit

Permalink
Fix: build multi-platform image for deployments on AWS Ubuntu machine.
Browse files Browse the repository at this point in the history
  • Loading branch information
dleclercpro committed Jan 18, 2024
1 parent dfbcc3b commit 74eacca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ app="dummy-authenticator"
release="latest"

# Build app image
docker build -t $user/$app:$release -f Dockerfile .
docker buildx -t $user/$app:$release -f Dockerfile .

# Push app image to Dockerhub
docker push $user/$app:$release
docker buildx build --platform linux/amd64,linux/arm64 -t $user/$app:$release -f ./Dockerfile . --push

0 comments on commit 74eacca

Please sign in to comment.