Skip to content

Commit

Permalink
sites: do not use go_cross_binary
Browse files Browse the repository at this point in the history
no point because we are, via GH, building on linux anyway, the normal
binary is native

Signed-off-by: toby lorne <[email protected]>
  • Loading branch information
tlwr committed Oct 6, 2024
1 parent 75bbd39 commit 1892d65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
8 changes: 1 addition & 7 deletions sites/assets.tobys.cloud/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,9 @@ go_binary(
visibility = ["//visibility:public"],
)

go_cross_binary(
name = "linux",
platform = "@io_bazel_rules_go//go/toolchain:linux_amd64",
target = ":cmd",
)

pkg_tar(
name = "app_layer",
srcs = [":linux"],
srcs = [":cmd"],
package_dir = "/usr/bin",
)

Expand Down
8 changes: 1 addition & 7 deletions sites/page-404/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,9 @@ go_binary(
visibility = ["//visibility:public"],
)

go_cross_binary(
name = "linux",
platform = "@io_bazel_rules_go//go/toolchain:linux_amd64",
target = ":cmd",
)

pkg_tar(
name = "app_layer",
srcs = [":linux"],
srcs = [":cmd"],
package_dir = "/usr/bin",
)

Expand Down
8 changes: 1 addition & 7 deletions sites/www.toby.codes/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,9 @@ go_binary(
visibility = ["//visibility:public"],
)

go_cross_binary(
name = "linux",
platform = "@io_bazel_rules_go//go/toolchain:linux_amd64",
target = ":cmd",
)

pkg_tar(
name = "app_layer",
srcs = [":linux"],
srcs = [":cmd"],
package_dir = "/usr/bin",
)

Expand Down

0 comments on commit 1892d65

Please sign in to comment.