From 31fa578b4667ddc18f3e7b5e966a89d0027eab3d Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Fri, 28 Feb 2025 12:00:38 -0800 Subject: [PATCH] fix(ci): upgrade ubuntu runner Signed-off-by: Derek Wang --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b50f0196..f341c9ffb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ defaults: jobs: build-go-binaries: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 if: github.repository == 'numaproj/numaflow' name: Build binaries steps: @@ -39,7 +39,7 @@ jobs: path: dist build-rust-amd64: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 defaults: run: working-directory: ./rust @@ -50,7 +50,7 @@ jobs: with: rustflags: '' - name: Install dependencies - run: sudo apt-get install -y protobuf-compiler + run: sudo apt-get update && sudo apt-get install -y protobuf-compiler - name: Build binary run: RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-unknown-linux-gnu - name: Rename binary @@ -62,7 +62,7 @@ jobs: path: rust/numaflow-rs-linux-amd64 build-rust-arm64: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 defaults: run: working-directory: ./rust @@ -76,7 +76,7 @@ jobs: with: rustflags: '' - name: Install dependenices - run: sudo apt-get install -y gcc-aarch64-linux-gnu protobuf-compiler + run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu protobuf-compiler - name: Build binary run: RUSTFLAGS='-C target-feature=+crt-static -C linker=aarch64-linux-gnu-gcc' cargo build --release --target aarch64-unknown-linux-gnu - name: Rename binary @@ -90,7 +90,7 @@ jobs: build-push-linux-multi: name: Build & push linux/amd64 and linux/arm64 needs: [ build-go-binaries, build-rust-amd64, build-rust-arm64] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 if: github.repository == 'numaproj/numaflow' strategy: matrix: @@ -148,7 +148,7 @@ jobs: run: | IMAGE_NAMESPACE=${{ secrets.QUAYIO_ORG }} VERSION=${{ steps.version.outputs.VERSION }} DOCKER_PUSH=true make image-multi - Bom: + bom: runs-on: ubuntu-latest if: github.repository == 'numaproj/numaflow' needs: [ build-push-linux-multi ] @@ -240,4 +240,4 @@ jobs: /tmp/sbom.tar.gz /tmp/sbom.tar.gz.sig env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}