pipecd
pipecd copied to clipboard
Cloud Run and v0 Kubernetes planner parse images from a registry with a port incorrectly
Follow-up from #7613, as suggested in the review.
parseContainerImage in the Cloud Run provider (pkg/app/piped/platformprovider/cloudrun/servicemanifest.go) and the v0 Kubernetes planner (pkg/app/piped/planner/kubernetes/kubernetes.go) splits the whole image on ":". For an image from a registry with a port, such as localhost:5000/helloworld:v0.1.0, this gives the name localhost and an empty tag, so the app version and artifact versions come out wrong.
The v1 kubernetes and kubernetes_multicluster plugins were already fixed in #7513, and Lambda in #7613. These two are the remaining places.
Expected: localhost:5000/helloworld:v0.1.0 → name helloworld, tag v0.1.0.
I'd like to work on this. Could I be assigned?