...

Text file src/github.com/docker/distribution/docker-bake.hcl

Documentation: github.com/docker/distribution

     1group "default" {
     2  targets = ["image-local"]
     3}
     4
     5// Special target: https://github.com/docker/metadata-action#bake-definition
     6target "docker-metadata-action" {
     7  tags = ["registry:local"]
     8}
     9
    10target "binary" {
    11  target = "binary"
    12  output = ["./bin"]
    13}
    14
    15target "artifact" {
    16  target = "artifact"
    17  output = ["./bin"]
    18}
    19
    20target "artifact-all" {
    21  inherits = ["artifact"]
    22  platforms = [
    23    "linux/amd64",
    24    "linux/arm/v6",
    25    "linux/arm/v7",
    26    "linux/arm64",
    27    "linux/ppc64le",
    28    "linux/s390x"
    29  ]
    30}
    31
    32// Special target: https://github.com/docker/metadata-action#bake-definition
    33target "docker-metadata-action" {
    34  tags = ["registry:local"]
    35}
    36
    37target "image" {
    38  inherits = ["docker-metadata-action"]
    39}
    40
    41target "image-local" {
    42  inherits = ["image"]
    43  output = ["type=docker"]
    44}
    45
    46target "image-all" {
    47  inherits = ["image"]
    48  platforms = [
    49    "linux/amd64",
    50    "linux/arm/v6",
    51    "linux/arm/v7",
    52    "linux/arm64",
    53    "linux/ppc64le",
    54    "linux/s390x"
    55  ]
    56}

View as plain text