Skip to content

Commit

Permalink
ci: override included apps version for OTP 24
Browse files Browse the repository at this point in the history
  • Loading branch information
id committed Oct 11, 2024
1 parent 0bd4691 commit 9b9fb61
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,21 @@ jobs:
with:
driver-opts: network=host
- uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
if: ${{ startsWith(matrix.otp, '24') }}
with:
platforms: ${{ matrix.platform.arch }}
cache-from: type=local,src=/tmp/.docker-buildx-cache,mode=max
build-args: |
BUILD_FROM=${{ steps.base_tag.outputs.image }}
OTP_VERSION=${{ matrix.otp }}
ELIXIR_VERSION=${{ matrix.elixir }}
BUILD_WITHOUT_QUIC=1
EMQTT_BENCH_VERSION=0.4.5
LUX_VERSION=lux-2.6
file: ./Dockerfile
context: .
- uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
if: ${{ ! startsWith(matrix.otp, '24') }}
with:
platforms: ${{ matrix.platform.arch }}
cache-from: type=local,src=/tmp/.docker-buildx-cache,mode=max
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM ${BUILD_FROM}
ENV EMQX_BUILDER_IMAGE=${BUILD_FROM}
ENV ERL_AFLAGS="-kernel shell_history enabled"

ARG BUILD_WITHOUT_QUIC=false
ARG OTP_VERSION=27.1-1
ARG ELIXIR_VERSION=1.17.3
ARG FDB_VERSION=7.3.43
Expand Down

0 comments on commit 9b9fb61

Please sign in to comment.