mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/boypt/openssh-deb.git
synced 2026-09-20 08:03:46 +08:00
feat: extract archive source switch script for EOL Debian builds
Create switch_archive_sources.sh that rewrites /etc/apt/sources.list from deb.debian.org to archive.debian.org (with backports) for EOL Debian releases (buster, bullseye). Both docker/Dockerfile.deps and the CI install-test step use this script instead of inline fallback logic. Also record the pullsrc-on-host strategy in AGENTS.md.
This commit is contained in:
5
.github/workflows/create-release.yml
vendored
5
.github/workflows/create-release.yml
vendored
@@ -56,7 +56,10 @@ jobs:
|
||||
|
||||
- name: Install test with ${{ matrix.version }}
|
||||
run: |
|
||||
docker run --rm -v ${{ github.workspace }}:/work -w /work library/${{ matrix.version }} bash -c "apt update && apt install -y --no-install-recommends ./output/*.deb && ssh -V"
|
||||
docker run --rm -v ${{ github.workspace }}:/work -w /work library/${{ matrix.version }} bash -c "
|
||||
bash /work/switch_archive_sources.sh &&
|
||||
apt update -qq >/dev/null 2>&1 &&
|
||||
apt install -y --no-install-recommends ./output/*.deb && ssh -V"
|
||||
|
||||
- name: Pack .deb files into tar.gz
|
||||
id: pack
|
||||
|
||||
Reference in New Issue
Block a user