resolve_image

Function resolve_image 

Source
pub fn resolve_image(registry: Option<&str>, tag: &str) -> String
Expand description

Resolve the full container image reference for the bindy image.

The image name is always bindy; only the registry/org prefix and tag vary:

registrytagresult
Nonelatestghcr.io/firestoned/bindy:latest
Some("my.reg.io/org")v0.5.0my.reg.io/org/bindy:v0.5.0

Trailing slashes on registry are stripped before composing the reference.