Skip to content

Commit

Permalink
fix(ci): upgrade ubuntu runner
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Wang <[email protected]>
  • Loading branch information
whynowy committed Feb 28, 2025
1 parent 27e061f commit 31fa578
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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 ]
Expand Down Expand Up @@ -240,4 +240,4 @@ jobs:
/tmp/sbom.tar.gz
/tmp/sbom.tar.gz.sig
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 31fa578

Please sign in to comment.