github.com/GoogleContainerTools/skaffold@v1.39.18/examples/bazel/WORKSPACE (about)

     1  workspace(name = "skaffold")
     2  
     3  load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
     4  
     5  http_archive(
     6      name = "io_bazel_rules_docker",
     7      sha256 = "b1e80761a8a8243d03ebca8845e9cc1ba6c82ce7c5179ce2b295cd36f7e394bf",
     8      urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.25.0/rules_docker-v0.25.0.tar.gz"],
     9  )
    10  
    11  http_archive(
    12      name = "io_bazel_rules_go",
    13      sha256 = "a8d6b1b354d371a646d2f7927319974e0f9e52f73a2452d2b3877118169eb6bb",
    14      urls = [
    15          "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.23.3/rules_go-v0.23.3.tar.gz",
    16          "https://github.com/bazelbuild/rules_go/releases/download/v0.23.3/rules_go-v0.23.3.tar.gz",
    17      ],
    18  )
    19  
    20  load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
    21  
    22  go_rules_dependencies()
    23  
    24  go_register_toolchains(
    25      go_version = "1.14.4",
    26  )
    27  
    28  load(
    29      "@io_bazel_rules_docker//repositories:repositories.bzl",
    30      container_repositories = "repositories",
    31  )
    32  
    33  container_repositories()
    34  
    35  load(
    36      "@io_bazel_rules_docker//repositories:deps.bzl",
    37      container_deps = "deps",
    38  )
    39  
    40  container_deps()
    41  
    42  load(
    43      "@io_bazel_rules_docker//go:image.bzl",
    44      _go_image_repos = "repositories",
    45  )
    46  
    47  _go_image_repos()