Skip to content

Commit 5c34353

Browse files
committed
ci: pin bioconda docker base image to :latest
bioconda-utils installed from conda can report its version as 0.0.0, which makes its default docker base image tag (quay.io/bioconda/bioconda-utils-build-env-cos7:0.0.0) point at a nonexistent image, failing the build with 'manifest unknown'. Pass --docker-base-image ...:latest explicitly on all paths (not just act).
1 parent 17ea62a commit 5c34353

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -619,10 +619,11 @@ jobs:
619619
shell: bash -l {0}
620620
run: |
621621
cd bioconda-recipes
622-
EXTRA_ARGS=""
623-
if [ "$ACT" = "true" ]; then
624-
EXTRA_ARGS="--docker-base-image quay.io/bioconda/bioconda-utils-build-env-cos7:latest"
625-
fi
622+
# bioconda-utils installed from conda can report its version as
623+
# 0.0.0, which makes its default docker base image tag
624+
# (quay.io/bioconda/bioconda-utils-build-env-cos7:0.0.0) point at a
625+
# nonexistent image. Pin the base image to :latest explicitly.
626+
EXTRA_ARGS="--docker-base-image quay.io/bioconda/bioconda-utils-build-env-cos7:latest"
626627
bioconda-utils build --docker --mulled-test $EXTRA_ARGS --packages tttrlib
627628
628629
# ── Docs: after all tests pass ────────────────────────────────────────────

0 commit comments

Comments
 (0)