Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Fix regex used for processing image references #131

Merged
merged 1 commit into from
Oct 25, 2019

Conversation

amisevsk
Copy link
Contributor

What does this PR do?

Fixes the image regex we use to break an image reference into repo/org/image:tag. Currently it fails to match if registry hostname contains a port, since it does not match the colon.

What issues does this PR fix or reference?

eclipse-che/che#14990

The regex we use to update image references used in airgap mode fails if
the registry hostname contains a colon.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Copy link
Contributor

@nickboldt nickboldt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this plan! I'm excited to be a part of it!

@nickboldt nickboldt merged commit 49f2353 into eclipse-che:master Oct 25, 2019
ibuziuk pushed a commit to ibuziuk/che-devfile-registry that referenced this pull request Oct 28, 2019
The regex we use to update image references used in airgap mode fails if
the registry hostname contains a colon.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
ibuziuk pushed a commit that referenced this pull request Oct 28, 2019
The regex we use to update image references used in airgap mode fails if
the registry hostname contains a colon.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
monaka referenced this pull request in PizzaFactory/che-devfile-registry Nov 25, 2019
The regex we use to update image references used in airgap mode fails if
the registry hostname contains a colon.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
monaka referenced this pull request in PizzaFactory/che-devfile-registry Nov 25, 2019
The regex we use to update image references used in airgap mode fails if
the registry hostname contains a colon.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants