Skip to content

Commit 790bd2d

Browse files
committed
feat: update CI configuration for ARM64 builds and improve Dockerfile syntax
Signed-off-by: liuhy <[email protected]>
1 parent e0acd87 commit 790bd2d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232
jobs:
3333
# Separate job for native builds vs emulated builds
3434
build_native:
35-
runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-latest-arm64' || 'ubuntu-latest' }}
35+
runs-on: ${{ matrix.arch == 'arm64' && 'macos-26' || 'ubuntu-latest' }}
3636
permissions:
3737
contents: read
3838
packages: write

Dockerfile.extproc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the Rust library using Makefile
2-
FROM rust:1.85 as rust-builder
2+
FROM rust:1.85 AS rust-builder
33

44
# Install make and other build dependencies including cross-compilation tools
55
RUN apt-get update && apt-get install -y \
@@ -53,7 +53,7 @@ RUN echo "Building Rust library with actual source code..." && \
5353
ls -la target/release/
5454

5555
# Build the Go application
56-
FROM golang:1.24 as go-builder
56+
FROM golang:1.24 AS go-builder
5757

5858
WORKDIR /app
5959

0 commit comments

Comments
 (0)