bazelbuild / bazelbuild/rules_docker

FR: Throw Error if Platform Incompatible

Open
#2,234 2 comments 0 reactions 0 assignees View on GitHub
Can Close?
Dominant language
Starlark
Stars
1.1k
Forks
689
PR merge metrics
No merged PRs in 30d

Description

```
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.