This Pull Request fixes the #613 issue by allowing to use docker image from Google Artifact Registry.
Given the naming of the actual validation function, I took the choice of creating a dedicated function to validate the syntax of Google Artifact Registries. (named GAR in my changes)
I have choose to rename the isValidImageOnGCR to isValidImageOnGCP (Google Cloud Platform).
I'm not a specialist of Golang, so I'm open to any comment on my changes.
I am using this code on a forked Kritis image and it works like a charm.
This Pull Request fixes the #613 issue by allowing to use docker image from Google Artifact Registry.
Given the naming of the actual validation function, I took the choice of creating a dedicated function to validate the syntax of Google Artifact Registries. (named GAR in my changes)
I have choose to rename the isValidImageOnGCR to isValidImageOnGCP (Google Cloud Platform).
I'm not a specialist of Golang, so I'm open to any comment on my changes.
I am using this code on a forked Kritis image and it works like a charm.