fix(ci): remove target flag from docker command (#1725)

* fix(ci): remove target flag from docker command

* fix(ci): add additional debug flag to rollout debug images to fleets
This commit is contained in:
Aaryamann Challani 2023-05-15 21:55:25 +05:30 committed by GitHub
parent 2f1eb2c0ca
commit 3e8adb3984

View File

@ -41,6 +41,11 @@ pipeline {
description: 'Enable experimental features.',
defaultValue: false
)
booleanParam(
name: 'DEBUG',
description: 'Enable debug features (heaptrack).',
defaultValue: false
)
}
stages {
@ -52,7 +57,7 @@ pipeline {
"--build-arg=MAKE_TARGET='${params.MAKE_TARGET}' " +
"--build-arg=NIMFLAGS='${params.NIMFLAGS}' " +
"--build-arg=EXPERIMENTAL='${params.EXPERIMENTAL}' " +
"--target=${params.EXPERIMENTAL ? "experimental" : "prod"} ."
"--target=${params.DEBUG ? "debug" : "prod"} ."
)
} }
}