mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Pin node versions
This commit is contained in:
parent
ac83e5a4e0
commit
caae675aee
3 changed files with 15 additions and 9 deletions
|
|
@ -79,9 +79,9 @@ function print_git_args() {
|
|||
|
||||
function print_node_args() {
|
||||
case "$1" in
|
||||
8.x) NODE_INSTALL_VERSION=8.x ;;
|
||||
10.x) NODE_INSTALL_VERSION=10.x ;;
|
||||
12.x) NODE_INSTALL_VERSION=12.x ;;
|
||||
8.x) NODE_INSTALL_VERSION=8.16.0 ;;
|
||||
10.x) NODE_INSTALL_VERSION=10.16.0 ;;
|
||||
12.x) NODE_INSTALL_VERSION=12.4.0 ;;
|
||||
*) echo "Unknown node version $1"; exit 1;
|
||||
esac
|
||||
printf -- "--build-arg NODE_INSTALL_VERSION=%s " "$NODE_INSTALL_VERSION"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue