bazelbuild / rules_docker

Rules for building and handling Docker images with Bazel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FR: Throw Error if Platform Incompatible

aryeh-looker opened this issue · comments

commented
container_pull(
    name = "envoyproxy_distroless",
    architecture = "amd64",
    digest = "sha256:b0fb1c9e5884a82c78e32db131395388ddd2ad616530a12033a16b4faecb8d15",
    registry = "index.docker.io",
    repository = "envoyproxy/envoy",
    tag = ENVOY_VERSION,
)

^ as the above digest is for an arm64 image, but amd64 was requested, it would be useful for an error to be thrown

https://hub.docker.com/layers/envoyproxy/envoy-distroless/v1.25.2/images/sha256-b0fb1c9e5884a82c78e32db131395388ddd2ad616530a12033a16b4faecb8d15?context=explore

This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days.
Collaborators can add an assignee to keep this open indefinitely. Thanks for your contributions to rules_docker!