Skip to content

Commit 0f2d59a

Browse files
committed
Fix CI: Use archive.debian.org for Python 2.7 Buster image
Debian Buster reached end-of-life and its repositories are no longer available at deb.debian.org. This updates the CI to use archive.debian.org for the Python 2.7 build which requires the Buster image.
1 parent 5e19a00 commit 0f2d59a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
if: matrix.image-variant == '-buster'
3131
run: |
3232
# Debian Buster reached EOL, switch to archive.debian.org
33-
# Remove security repo entirely (not available in archive) and use main archive
3433
sed -i 's|deb.debian.org|archive.debian.org|g' /etc/apt/sources.list
35-
sed -i '/security.debian.org/d' /etc/apt/sources.list
34+
sed -i 's|security.debian.org|archive.debian.org|g' /etc/apt/sources.list
3635
sed -i '/buster-updates/d' /etc/apt/sources.list
36+
sed -i 's|buster/updates|buster|g' /etc/apt/sources.list
3737
3838
- name: Install python dependencies
3939
run: |

0 commit comments

Comments
 (0)