From 53f6f2c8e1192496e76a4769af5b1970e18621de Mon Sep 17 00:00:00 2001 From: Brianna Major Date: Mon, 1 Jul 2024 15:24:20 -0400 Subject: [PATCH] Use archive mirror for CentOS 7 after EOL Signed-off-by: Brianna Major --- .github/workflows/container_build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/container_build.sh b/.github/workflows/container_build.sh index 73a15c093..731cfe2a9 100755 --- a/.github/workflows/container_build.sh +++ b/.github/workflows/container_build.sh @@ -1,6 +1,11 @@ #!/usr/bin/env bash cd /github/workspace/ +# Use archive mirror for CentOS 7 until we are ready to migrate to CentOS 8 +sed -i -e 's/mirrorlist/#mirrorlist/g' \ + -e 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' \ + /etc/yum.repos.d/CentOS-* + # Install dependencies yum install -y wget git centos-release-scl ca-certificates