diff --git a/.github/workflows/build-ampd-release.yaml b/.github/workflows/build-ampd-release.yaml index 02594262c..d161456a8 100644 --- a/.github/workflows/build-ampd-release.yaml +++ b/.github/workflows/build-ampd-release.yaml @@ -108,17 +108,21 @@ jobs: if [ "$ARCH" == "arm64" ] then - sudo dpkg --add-architecture arm64 - # add the arm64 architecture to the sources.list - sudo tee -a /etc/apt/sources.list << EOF - + sudo tee /etc/apt/sources.list > /dev/null << EOF + + # AMD64 repositories + deb [arch=amd64] http://azure.archive.ubuntu.com/ubuntu jammy main restricted universe multiverse + deb [arch=amd64] http://azure.archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse + deb [arch=amd64] http://azure.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse + deb [arch=amd64] http://security.ubuntu.com/ubuntu jammy-security main restricted universe multiverse + # ARM64 repositories deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy main restricted universe multiverse deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted universe multiverse deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-backports main restricted universe multiverse deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted universe multiverse EOF - + cat /etc/apt/sources.list sudo apt-get update fi