bazel-contrib / rules_oci

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

Cannot push tags that contain `+`? #721

Closed njlr closed 1 month ago

njlr commented 1 month ago

When trying to push I get:

Error: HEAD https://123456789012.dkr.ecr.eu-west-2.amazonaws.com/v2/repo/manifests/2024.42.40+8f9dd6963: unexpected status code 400 Bad Request (HEAD responses have no body, use GET for details)

However, it works if my tag is test instead.

Perhaps the + is the issue?

njlr commented 1 month ago

+ is not allowed in Docker tags

Interestingly, this means that you cannot put a sem-ver into a Docker tag!

https://github.com/distribution/distribution/issues/1201