We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cb286f commit 39680d7Copy full SHA for 39680d7
1 file changed
lib/shared.bash
@@ -170,6 +170,7 @@ function build_image_override_file_with_version() {
170
cache_from_amt="${1:-0}"
171
[[ -n "${1:-}" ]] && shift; # remove the value if not empty
172
if [[ "${cache_from_amt}" -gt 0 ]]; then
173
+ cache_from=()
174
for _ in $(seq 1 "$cache_from_amt"); do
175
cache_from+=( "$1" ); shift
176
done
@@ -179,6 +180,7 @@ function build_image_override_file_with_version() {
179
180
labels_amt="${1:-0}"
181
182
if [[ "${labels_amt}" -gt 0 ]]; then
183
+ labels=()
184
for _ in $(seq 1 "$labels_amt"); do
185
labels+=( "$1" ); shift
186
0 commit comments