Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support arm64 platform #450

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions .github/workflows/pull-request-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,18 @@ jobs:
fail-fast: false
matrix:
dist: ['libc-ubi8', 'libc-ubi9', 'musl']
arch: ['amd64']
arch: ['amd64', 'arm64']
steps:

- name: Checkout che-code source code
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Cleanup docker images
run: |
docker system prune -af
Expand All @@ -38,7 +44,7 @@ jobs:
--progress=plain \
-f build/dockerfiles/linux-${{matrix.dist}}.Dockerfile \
-t linux-${{matrix.dist}}-${{matrix.arch}} .

- name: Display docker images
run: |
docker images
Expand All @@ -62,6 +68,12 @@ jobs:
- name: Checkout che-code source code
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Cleanup docker images
run: |
docker system prune -af
Expand Down Expand Up @@ -126,6 +138,12 @@ jobs:
- name: Checkout che-code source code
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Cleanup docker images
run: |
docker system prune -af
Expand Down
Loading