Commit 577ea338 authored by Gerard Hickey's avatar Gerard Hickey
Browse files

Removed reference to UBI_PIPELINE

parent bb839a53
......@@ -61,9 +61,9 @@ if ARGV.length < 1
exit 1
end
# Add `-ubi8` to the commit ref if triggered with UBI_PIPELINE=true
# Add `-ubi8` to the commit ref if not already present.
version = ARGV[0]
if ENV['UBI_PIPELINE'] == 'true' or not version.ends_with? '-ubi8'
if not version.ends_with? '-ubi8'
# we add `-ubi8` to find the UBI images.
version += '-ubi8'
end
......
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