Skip to content

Commit

Permalink
try label fix
Browse files Browse the repository at this point in the history
  • Loading branch information
daler committed Feb 5, 2024
1 parent 1398b8f commit c739426
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/generic_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:
run sh -c '. /opt/conda/etc/profile.d/conda.sh && conda activate base && bioconda-utils --version' \
| rev | cut -f1 -d " " | rev
)"
LABELS+=("--label=\"${bioconda_utils}\"")
LABELS+=("--label=bioconda-utils=\"${bioconda_utils}\"")
fi
if [ ! -z "${busybox_version}" ]; then
Expand All @@ -171,10 +171,7 @@ jobs:
# Add labels to a new container...
container="$( buildah from "${image_id}" )"
# FIXME: can't quite get the quoting right for args in array, so
# disabling for now to get other things working.
# buildah config ${LABELS[@]} "${container}"
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 c739426

Please sign in to comment.