Skip to content

Commit

Permalink
chore: use buildx to build grpc-ping-go
Browse files Browse the repository at this point in the history
Signed-off-by: kahirokunn <okinakahiro@gmail.com>
  • Loading branch information
kahirokunn committed Aug 21, 2023
1 parent 115624f commit bc99e8d
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 bc99e8d

Please sign in to comment.