fix: filter link and volume flags for dockerfile builds
The link flag was previously not filtered _after_ fetching build args for dockerfile builds, which meant if a plugin exposed that in it's own docker-args-build trigger, it would break deploys. Additionally, allow for whitespaces between link and volume flags.
This commit is contained in:
@@ -42,7 +42,7 @@ trigger-docker-options-docker-args() {
|
||||
case "$IMAGE_SOURCE_TYPE" in
|
||||
dockerfile)
|
||||
case "$line" in
|
||||
--link* | -v*)
|
||||
--link* | -v* | --volume*)
|
||||
continue
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user