Skip to content

Commit

Permalink
ci: do not use build container
Browse files Browse the repository at this point in the history
older OS versions like el7 and amzn2 have too old GLIBC for node 20
runtime, so we can't use build container there
  • Loading branch information
id committed May 24, 2024
1 parent 7f1a8ff commit 76dce2d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
- el7
- amzn2
- amzn2023
container:
image: ghcr.io/emqx/emqx-builder/5.3-6:1.15.7-${{ matrix.otp }}-${{ matrix.os }}
env:
EMQX_BUILDER: ghcr.io/emqx/emqx-builder/5.3-6:1.15.7-${{ matrix.otp }}-${{ matrix.os }}

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
Expand All @@ -87,10 +87,8 @@ jobs:
- name: Build
shell: bash
run: |
git config --global --add safe.directory $(pwd)
tar xf docs.tar.gz
export CAN_BUILD_DOCS=false
make release
docker run --rm -v $(pwd):$(pwd) -w $(pwd) -e CAN_BUILD_DOCS=false -e REBAR=/usr/local/bin/rebar3 $EMQX_BUILDER make release
- if: failure()
run: cat rebar3.crashdump
- run: ./_build/default/bin/emqttb
Expand Down

0 comments on commit 76dce2d

Please sign in to comment.