Skip to content

Commit

Permalink
test a few label quoting things
Browse files Browse the repository at this point in the history
  • Loading branch information
aliciaaevans committed Feb 5, 2024
1 parent 5c0dc83 commit 823ff05
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/generic_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,15 @@ jobs:
# Add labels to a new container...
container="$( buildah from "${image_id}" )"
# buildah config ${LABELS[@]} "${container}"
# FIXME: Test out different options
declare -a mycmd=( buildah config ${LABELS[@]} "${container}" )
echo "Label args: " "${LABELS[@]}"
echo "Label args with @Q: " "${LABELS[@]@Q}"
echo "Label command: " "${mycmd[@]}"
echo "Label command with @Q: " "${mycmd[@]@Q}"
buildah config "${LABELS[@]}" "${container}"
# ...then store the container (now with labels) as a new image. This
# is what we'll use to upload.
Expand Down

0 comments on commit 823ff05

Please sign in to comment.