Commit f77c9c39 authored by Gerard Hickey's avatar Gerard Hickey
Browse files

Removal of CE/EE suffix when version var is used

parent 2a100480
......@@ -87,7 +87,7 @@ $IMAGE_VERSION_VAR.keys.each do |name|
# it is assumed that the "version" (commit ref) from CLI param
# is correct.
if (ENV['CI_COMMIT_REF_NAME'] == 'master' || is_regular_tag)
version = ENV[$IMAGE_VERSION_VAR[name]] + '-ubi8'
version = ENV[$IMAGE_VERSION_VAR[name]].sub(/-(ce|ee)$/, '') + '-ubi8'
if secrets.has_key? name
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