Skip to content

Commit

Permalink
Try to tag containers as manual-only
Browse files Browse the repository at this point in the history
  • Loading branch information
shaldengeki committed Jul 15, 2024
1 parent 8d3e54b commit fe30d57
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
build --announce_rc
build --disk_cache=$HOME/.cache/bazel
build --repository_cache=$HOME/.cache/bazel-repo
build --build_tag_filters=-manual

test --test_output=errors
test --test_tag_filters=-manual
1 change: 1 addition & 0 deletions tools/build_rules/api_image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def api_image(
],
env = container_env,
visibility = visibility,
tags = ["manual"],
)

cross_platform_image(
Expand Down
2 changes: 2 additions & 0 deletions tools/build_rules/cross_platform_image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def cross_platform_image(
image = name,
repo_tags = repo_tags,
visibility = visibility,
tags = ["manual"],
)

oci_push(
Expand All @@ -51,4 +52,5 @@ def cross_platform_image(
remote_tags = stamp_file,
repository = repository,
visibility = visibility,
tags = ["manual"],
)
2 changes: 2 additions & 0 deletions tools/build_rules/frontend_image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def frontend_image(
srcs = [name + "_webpack"],
package_dir = "/usr/share/nginx/html",
strip_prefix = name + "_webpack",
tags = ["manual"],
visibility = visibility,
)

Expand All @@ -116,6 +117,7 @@ def frontend_image(
# Intentionally omit cmd/entrypoint to default to the base nginx container's cmd/entrypoint.
# entrypoint = [],
# cmd = [],
tags = ["manual"],
visibility = visibility,
)

Expand Down

0 comments on commit fe30d57

Please sign in to comment.