Fix apt-cacher-ng URL in CI workflow
- Change ftp.us.debian.org to ftp.debian.org - Fixes syntax error: unexpected end of file - apt-cacher-ng now uses correct Debian mirror URL - Resolves Docker build failure in container
This commit is contained in:
parent
c38d267d0f
commit
4182d33f9e
1 changed files with 8 additions and 8 deletions
|
|
@ -73,8 +73,8 @@ jobs:
|
|||
if timeout 5 curl -s --connect-timeout 3 \
|
||||
http://192.168.1.101:3142/acng-report.html > /dev/null 2>&1; then
|
||||
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 "deb-src http://192.168.1.101:3142/ftp.us.debian.org/debian unstable main" >> /etc/apt/sources.list
|
||||
echo "deb http://192.168.1.101:3142/ftp.debian.org/debian unstable main" > /etc/apt/sources.list
|
||||
echo "deb-src http://192.168.1.101:3142/ftp.debian.org/debian unstable main" >> /etc/apt/sources.list
|
||||
else
|
||||
echo '⚠️ Using standard Debian mirrors...'
|
||||
echo "deb http://deb.debian.org/debian unstable main" > /etc/apt/sources.list
|
||||
|
|
@ -85,12 +85,12 @@ jobs:
|
|||
apt update -y
|
||||
|
||||
# Clone and build bootupd
|
||||
git clone https://github.com/p5/coreos-bootupd.git bootupd && \
|
||||
cd bootupd && \
|
||||
git fetch --all && \
|
||||
git switch origin/sdboot-support -d && \
|
||||
/root/.cargo/bin/cargo build --release --bins --features systemd-boot && \
|
||||
install -Dpm0755 -t /usr/bin ./target/release/bootupd && \
|
||||
git clone https://github.com/p5/coreos-bootupd.git bootupd && \
|
||||
cd bootupd && \
|
||||
git fetch --all && \
|
||||
git switch origin/sdboot-support -d && \
|
||||
/root/.cargo/bin/cargo build --release --bins --features systemd-boot && \
|
||||
install -Dpm0755 -t /usr/bin ./target/release/bootupd && \
|
||||
ln -s ./bootupd /usr/bin/bootupctl && \
|
||||
cp /usr/bin/bootupd /workspace/ && \
|
||||
cp /usr/bin/bootupctl /workspace/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue