Fix CI workflow to use .sources format instead of sources.list
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 59s
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 59s
- The CI was overriding the Dockerfile's fixed sources configuration - This was causing apt source ostree to fail silently - Now both apt-cacher-ng and standard mirrors use .sources format - This should finally allow the build to proceed to dpkg-buildpackage
This commit is contained in:
parent
ec77151587
commit
3ca1c97b2d
1 changed files with 10 additions and 4 deletions
|
|
@ -75,12 +75,18 @@ jobs:
|
||||||
if timeout 5 curl -s --connect-timeout 3 \
|
if timeout 5 curl -s --connect-timeout 3 \
|
||||||
http://192.168.1.101:3142/acng-report.html > /dev/null 2>&1; then
|
http://192.168.1.101:3142/acng-report.html > /dev/null 2>&1; then
|
||||||
echo '✅ Using apt-cacher-ng for package downloads...'
|
echo '✅ Using apt-cacher-ng for package downloads...'
|
||||||
echo 'deb http://192.168.1.101:3142/ftp.us.debian.org/debian unstable main' > /etc/apt/sources.list
|
echo 'Types: deb deb-src' > /etc/apt/sources.list.d/debian.sources
|
||||||
echo 'deb-src http://192.168.1.101:3142/ftp.us.debian.org/debian unstable main' >> /etc/apt/sources.list
|
echo 'URIs: http://192.168.1.101:3142/ftp.us.debian.org/debian' >> /etc/apt/sources.list.d/debian.sources
|
||||||
|
echo 'Suites: unstable' >> /etc/apt/sources.list.d/debian.sources
|
||||||
|
echo 'Components: main' >> /etc/apt/sources.list.d/debian.sources
|
||||||
|
echo 'Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg' >> /etc/apt/sources.list.d/debian.sources
|
||||||
else
|
else
|
||||||
echo '⚠️ Using standard Debian mirrors...'
|
echo '⚠️ Using standard Debian mirrors...'
|
||||||
echo 'deb http://deb.debian.org/debian unstable main' > /etc/apt/sources.list
|
echo 'Types: deb deb-src' > /etc/apt/sources.list.d/debian.sources
|
||||||
echo 'deb-src http://deb.debian.org/debian unstable main' >> /etc/apt/sources.list
|
echo 'URIs: http://deb.debian.org/debian' >> /etc/apt/sources.list.d/debian.sources
|
||||||
|
echo 'Suites: unstable' >> /etc/apt/sources.list.d/debian.sources
|
||||||
|
echo 'Components: main' >> /etc/apt/sources.list.d/debian.sources
|
||||||
|
echo 'Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg' >> /etc/apt/sources.list.d/debian.sources
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Update package lists
|
# Update package lists
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue