Attempt at install Fluxon UI on CI

This commit is contained in:
Claudio Ortolina
2025-04-15 10:32:49 +01:00
parent 8fcb5ad46b
commit 48b8a84f8d
4 changed files with 25 additions and 3 deletions
+7
View File
@@ -37,6 +37,13 @@ WORKDIR /app
RUN mix local.hex --force && \
mix local.rebar --force
# install Fluxon UI repo
RUN --mount=type=secret,id=FLUXON_LICENSE_KEY \
--mount=type=secret,id=FLUXON_KEY_FINGERPRINT \
mix hex.repo add fluxon https://repo.fluxonui.com \
--fetch-public-key "$(cat /run/secrets/FLUXON_KEY_FINGERPRINT)" \
--auth-key "$(cat /run/secrets/FLUXON_LICENSE_KEY)"
# set build ENV
ENV MIX_ENV="prod"
ENV ERL_FLAGS="+JPperf true"