bazel-contrib / rules_oci

Bazel rules for building OCI containers
Apache License 2.0
305 stars 159 forks source link

Add retry field to oci_push and possibly other oci commands #736

Open davidhao3300 opened 1 week ago

davidhao3300 commented 1 week ago

Similar to https://github.com/bazelbuild/rules_docker/issues/1989, oci_push() can sometimes flake due to transient network issues, and retrying would be helpful for mitigating the impact. The current alternative is to retry the whole bazel command