[PATCH] docker: Use GitHub-mirrored TF-A repository to avoid clone failures
Tom Rini
trini at konsulko.com
Wed Nov 26 16:41:39 CET 2025
On Mon, Nov 10, 2025 at 09:37:58PM +0800, Bin Meng wrote:
> GitHub Actions consistently fails to clone the upstream TF-A repo,
> returning the error: "The requested URL returned error: 403".
>
> To improve compatibility in building the docker image with GitHub
> Actions, switch to the GitHub-mirrored TF-A repository instead.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> tools/docker/Dockerfile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
> index d2384219c06..201a1cdbac1 100644
> --- a/tools/docker/Dockerfile
> +++ b/tools/docker/Dockerfile
> @@ -243,7 +243,7 @@ RUN git clone --depth=1 https://github.com/OP-TEE/optee_os.git /tmp/optee_os \
>
> # Build fiptool, bl1 and fip for fvp and qemu_arm64
> RUN git clone --depth=1 -b mbedtls-3.6 https://github.com/ARMmbed/mbedtls.git /tmp/mbedtls
> -RUN git clone --depth=1 https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git /tmp/tf-a \
> +RUN git clone --depth=1 https://github.com/ARM-software/arm-trusted-firmware.git /tmp/tf-a \
> -b v2.13.0 && \
> cd /tmp/tf-a/ && \
> make CROSS_COMPILE=/opt/gcc-${TCVER}-nolibc/aarch64-linux/bin/aarch64-linux- \
How consistent is this failure? I've had problems this past year
building various parts of the container due to AI scraper overloads but
never had a problem with the TF-A repository.
That said, it would also be good to document how to build the containers
with GitHub actions.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20251126/43739f82/attachment.sig>
More information about the U-Boot
mailing list