Skip to content

Commit

Permalink
Add docker platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitryhil committed Jan 10, 2025
1 parent 56c64c6 commit 708cb19
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/hasura/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (

"github.com/CoreumFoundation/crust/build/config"
"github.com/CoreumFoundation/crust/build/docker"
"github.com/CoreumFoundation/crust/build/tools"
"github.com/CoreumFoundation/crust/build/types"
)

Expand All @@ -32,6 +33,10 @@ func buildDockerImage(ctx context.Context, push bool) error {
return docker.BuildImage(ctx, docker.BuildImageConfig{
ContextDir: ".", // TODO (wojciech): Later on, move `hasura` dir here
ImageName: config.DockerHubUsername + "/hasura",
TargetPlatforms: []tools.TargetPlatform{
tools.TargetPlatformLinuxAMD64InDocker,
tools.TargetPlatformLinuxARM64InDocker,
},
Dockerfile: dockerfile,
Action: action,
Versions: []string{
Expand Down

0 comments on commit 708cb19

Please sign in to comment.