Skip to content

Commit 823ff05

Browse files
committed
test a few label quoting things
1 parent 5c0dc83 commit 823ff05

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/generic_build.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,15 @@ jobs:
171171
172172
# Add labels to a new container...
173173
container="$( buildah from "${image_id}" )"
174-
# buildah config ${LABELS[@]} "${container}"
174+
175+
# FIXME: Test out different options
176+
declare -a mycmd=( buildah config ${LABELS[@]} "${container}" )
177+
echo "Label args: " "${LABELS[@]}"
178+
echo "Label args with @Q: " "${LABELS[@]@Q}"
179+
echo "Label command: " "${mycmd[@]}"
180+
echo "Label command with @Q: " "${mycmd[@]@Q}"
181+
182+
buildah config "${LABELS[@]}" "${container}"
175183
176184
# ...then store the container (now with labels) as a new image. This
177185
# is what we'll use to upload.

0 commit comments

Comments
 (0)