Skip to content

Commit

Permalink
chore: use buildx to build grpc-ping-go
Browse files Browse the repository at this point in the history
  • Loading branch information
kahirokunn committed Oct 13, 2022
1 parent 9a3dcf6 commit 9567ed2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions code-samples/serving/grpc-ping-go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@ for production containers.
Replace `{username}` with your Docker Hub username then run the commands:

```bash
# Build the container on your local machine.
docker build --tag "{username}/grpc-ping-go" .
# Push the container to docker registry.
docker push "{username}/grpc-ping-go"
# Build and push the container on your local machine.
docker buildx build --platform linux/arm64,linux/amd64 -t "{username}/grpc-ping-go" --push .
```

3. Update the `service.yaml` file in the project to reference the published image from step 1.
Expand Down

0 comments on commit 9567ed2

Please sign in to comment.