Skip to content

Commit

Permalink
ci(release): use github-runner arm64 (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan authored Jan 30, 2025
1 parent e2e9ab3 commit 0bd33d6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
- amzn2
- el9
- el8
runs-on: ubuntu-latest
runs-on: ubuntu-22.04${{ matrix.arch == 'arm64' && '-arm' || '' }}

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
Expand All @@ -106,15 +106,9 @@ jobs:
ref: ${{ github.event.inputs.ref }}

- uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0

- uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
with:
platforms: ${{ matrix.arch }}

- name: build release
run: |
docker run -i --rm -v $(pwd):/wd --workdir /wd \
--platform=linux/${{ matrix.arch }} \
-e BUILD_RELEASE=1 \
-e QUICER_TLS_VER=${{ matrix.openssl }} \
ghcr.io/emqx/emqx-builder/${{ matrix.erlang.builder }}-${{ matrix.os }} \
Expand Down

0 comments on commit 0bd33d6

Please sign in to comment.