From 33616d1b2b77e5243de6eaaf597e89bcdb056602 Mon Sep 17 00:00:00 2001 From: Mateusz Pietryga Date: Sat, 17 Oct 2026 00:35:10 +0200 Subject: [PATCH] Use archive.debian.org in dockcross images The dockcross images are based on Debian bullseye, which reached end of life; its packages are no longer served from deb.debian.org. --- .github/workflows/cross-compile.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cross-compile.yml b/.github/workflows/cross-compile.yml index 08dba03a2..c9b354cb9 100644 --- a/.github/workflows/cross-compile.yml +++ b/.github/workflows/cross-compile.yml @@ -118,7 +118,8 @@ jobs: --env MAVEN_OPTS=${MAVEN_OPTS} \ ${{ matrix.image }} \ bash -c \ - 'apt-get update && apt-get install --yes maven openjdk-17-jdk-headless && \ + 'sed -i s/deb.debian.org/archive.debian.org/ /etc/apt/sources.list && \ + apt-get update && apt-get install --yes maven openjdk-17-jdk-headless && \ mvn -B clean install -P dockcross,update-resources-precompiled \ -Dos.target.name=${{ matrix.os_target_name }} \ -Dos.target.arch=${{ matrix.os_target_arch }} \