Commit 1e71b03d authored by Gerard Hickey's avatar Gerard Hickey
Browse files

Adding -ubi8 to version to find UBI images

parent 4e826483
......@@ -63,8 +63,8 @@ end
# Add `-ubi8` to the commit ref if triggered with UBI_PIPELINE=true
version = ARGV[0]
if ENV['UBI_PIPELINE'] == 'true'
# we add `-ubi8` because this is probably from pipeline with UBI_PIPELINE set
if ENV['UBI_PIPELINE'] == 'true' or not version.ends_with? '-ubi8'
# we add `-ubi8` to find the UBI images.
version += '-ubi8'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment