File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -368,17 +368,18 @@ if [[ -n "${SSH_KEY}" ]] && [[ ! -f "${SSH_KEY}" ]]; then
368
368
fi
369
369
370
370
get_temp_image_name () {
371
- local image=$1
372
- local regex=" ^(.*:.*?\/)?(.*\/)?(.+)$"
373
- local repo_with_tag
374
-
375
- if [[ ${image} =~ ${regex} ]]; then
376
- repo_with_tag=${BASH_REMATCH[3]}
377
- echo " ${RANDOM} -${repo_with_tag} "
378
- return 0
379
- else
380
- error " Error parsing reference: ${image} is not a valid image reference."
381
- fi
371
+ echo " $1 "
372
+ # local image=$1
373
+ # local regex="^(.*:.*?\/)?(.*\/)?(.+)$"
374
+ # local repo_with_tag
375
+ #
376
+ # if [[ ${image} =~ ${regex} ]]; then
377
+ # repo_with_tag=${BASH_REMATCH[3]}
378
+ # echo "${RANDOM}-${repo_with_tag}"
379
+ # return 0
380
+ # else
381
+ # error "Error parsing reference: ${image} is not a valid image reference."
382
+ # fi
382
383
}
383
384
384
385
# Function to cleanup resources
You can’t perform that action at this time.
0 commit comments