We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32c193e commit 4cb286fCopy full SHA for 4cb286f
1 file changed
lib/shared.bash
@@ -170,7 +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
- for amt in $(seq 1 "$cache_from_amt"); do
+ for _ in $(seq 1 "$cache_from_amt"); do
174
cache_from+=( "$1" ); shift
175
done
176
fi
@@ -179,7 +179,7 @@ function build_image_override_file_with_version() {
179
labels_amt="${1:-0}"
180
181
if [[ "${labels_amt}" -gt 0 ]]; then
182
- for amt in $(seq 1 "$labels_amt"); do
+ for _ in $(seq 1 "$labels_amt"); do
183
labels+=( "$1" ); shift
184
185
0 commit comments