-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathBUILD
36 lines (32 loc) · 2.18 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package(default_visibility = ["//visibility:public"])
load("@io_bazel_rules_docker//docker:docker.bzl", "docker_bundle")
docker_bundle(
name = "all",
images = {
"docker.jfrog.io/jfrog/distroless/base/go:{BUILD_NUMBER}": "//base:static",
"docker.jfrog.io/jfrog/distroless/base/xray-go:{BUILD_NUMBER}": "//base/xray-go",
"docker.jfrog.io/jfrog/distroless/base/router-go:{BUILD_NUMBER}": "//base/router-go",
"docker.jfrog.io/jfrog/distroless/base/insight-sh:{BUILD_NUMBER}": "//base/insight-sh",
"docker.jfrog.io/jfrog/distroless/base/jfmc-sh:{BUILD_NUMBER}": "//base/jfmc-sh",
"docker.jfrog.io/jfrog/distroless/base/base:{BUILD_NUMBER}": "//base:base",
"docker.jfrog.io/jfrog/distroless/base/base:{BUILD_NUMBER}-debug": "//base:debug",
"docker.jfrog.io/jfrog/distroless/base/cc:{BUILD_NUMBER}": "//cc",
"docker.jfrog.io/jfrog/distroless/base/cc:{BUILD_NUMBER}-debug": "//cc:debug",
"docker.jfrog.io/jfrog/distroless/base/java-base:{BUILD_NUMBER}": "//java:java-base",
"docker.jfrog.io/jfrog/distroless/base/java:adoptopenjdk11-{BUILD_NUMBER}": "//java:java11",
"docker.jfrog.io/jfrog/distroless/base/java:adoptopenjdk11-{BUILD_NUMBER}-debug": "//java:debug",
"docker.jfrog.io/jfrog/distroless/base/artifactory-sh:{BUILD_NUMBER}": "//base/artifactory-sh",
"docker.jfrog.io/jfrog/distroless/base/artifactory-java-base:{BUILD_NUMBER}": "//java/artifactory-java:artifactory-java-base",
"docker.jfrog.io/jfrog/distroless/base/artifactory-java:adoptopenjdk11-{BUILD_NUMBER}": "//java/artifactory-java",
"docker.jfrog.io/jfrog/distroless/base/access-java:adoptopenjdk11-{BUILD_NUMBER}": "//java/access-java",
"docker.jfrog.io/jfrog/distroless/base/distribution-sh:{BUILD_NUMBER}": "//base/distribution-sh",
"docker.jfrog.io/jfrog/distroless/base/distribution-java:adoptopenjdk11-{BUILD_NUMBER}": "//java/distribution-java",
"docker.jfrog.io/jfrog/distroless/base/jfmc-java:adoptopenjdk11-{BUILD_NUMBER}": "//java/jfmc-java",
},
stamp = True,
)
load("@io_bazel_rules_docker//contrib:push-all.bzl", "docker_push")
docker_push(
name = "publish",
bundle = ":all",
)