From 24ea3e24697f75cb6ff5b263de01a21b5868ae7e Mon Sep 17 00:00:00 2001 From: christophe-duc Date: Fri, 9 Jan 2026 23:24:25 -0400 Subject: [PATCH] updated workflow to more recent ubuntu --- .github/workflows/cd.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 3a353f7c..6acb960f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -7,10 +7,17 @@ on: jobs: goreleaser: - runs-on: ubuntu-20.04 # Uses glibc 2.31 for better compatibility + runs-on: ubuntu-latest permissions: contents: write + container: + image: ubuntu:20.04 # Uses glibc 2.31 for better compatibility + options: --user root steps: + - name: Install dependencies + run: | + apt-get update + apt-get install -y git curl gcc gcc-aarch64-linux-gnu libc6-dev libc6-dev-arm64-cross - name: Checkout code uses: actions/checkout@v4 with: @@ -19,10 +26,6 @@ jobs: uses: actions/setup-go@v5 with: go-version: '1.25' - - name: Install build dependencies - run: | - sudo apt-get update - sudo apt-get install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross - name: Run goreleaser uses: goreleaser/goreleaser-action@v6 with: