File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ NAME_AND_TAG=${1:-$LOCAL_DISCARDABLE_IMAGE}
13
13
14
14
# This step gets the latest version of node 18 from node.js. It removes the .tar.gz extension and then returns the result.
15
15
# It is used when buidling the ubi image in order to download the latest node 18 version and copy its binary.
16
- NODE_18_LATEST_VERSION_TAR_GZ_FILE=$( curl --fail --silent https://nodejs.org/dist/latest-v18.x/SHASUMS256.txt | grep linux-x64.tar.gz | awk ' { print $2 }' )
16
+ NODE_18_LATEST_VERSION_TAR_GZ_FILE=$( curl -L - -fail --silent https://nodejs.org/dist/latest-v18.x/SHASUMS256.txt | grep linux-x64.tar.gz | awk ' { print $2 }' )
17
17
NODE_18_LATEST_VERSION=" ${NODE_18_LATEST_VERSION_TAR_GZ_FILE%% .tar.gz} "
18
18
NODE_18_LATEST_VERSION_TAR_GZ_FILE_SHASUM256=$( curl --fail --silent https://nodejs.org/dist/latest-v18.x/SHASUMS256.txt | grep linux-x64.tar.gz | awk ' { print $1 }' )
19
19
You can’t perform that action at this time.
0 commit comments