Skip to content

Canary CI is failing: fatal: Remote branch v not found in upstream origin (kubo) #4753

@AkihiroSuda

Description

@AkihiroSuda

https://github.com/containerd/nerdctl/actions/runs/22360373554/job/65015650843?pr=4748

in-container / rootful (canary) is failing due to an irrelevant reason:

 > [build-kubo 1/4] RUN git clone --quiet --depth 1 --branch "v" https://github.com/ipfs/kubo.git /go/src/github.com/ipfs/kubo:
0.569 warning: Could not find remote branch v to clone.
0.569 fatal: Remote branch v not found in upstream origin
------
Dockerfile:127
--------------------
 125 |     ARG KUBO_VERSION
 126 |     ARG TARGETARCH
 127 | >>> RUN git clone --quiet --depth 1 --branch "${KUBO_VERSION%%@*}" https://github.com/ipfs/kubo.git /go/src/github.com/ipfs/kubo
 128 |     WORKDIR /go/src/github.com/ipfs/kubo
 129 |     RUN git-checkout-tag-with-hash.sh ${KUBO_VERSION} && \
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c git clone --quiet --depth 1 --branch \"${KUBO_VERSION%%@*}\" https://github.com/ipfs/kubo.git /go/src/github.com/ipfs/kubo" did not complete successfully: exit code: 128

Originally posted by @AkihiroSuda in #4748 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions