Skip to content

Commit

Permalink
Update to Elixir 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
wmnnd committed Jun 21, 2021
1 parent 272c889 commit 7388990
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
include:
- version: "1.11"
- version: "1.12"
services:
postgres:
image: postgres:13-alpine
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule Keila.MixProject do
[
app: :keila,
version: "0.4.0",
elixir: "~> 1.11",
elixir: "~> 1.12",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
Expand Down
4 changes: 2 additions & 2 deletions ops/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM elixir:1.11-alpine as build
FROM elixir:1.12-alpine as build
ENV MIX_ENV=prod

RUN apk add git npm build-base
Expand All @@ -18,7 +18,7 @@ RUN npm run deploy --prefix ./assets && \
mix phx.digest && \
mix release

FROM elixir:1.11.2-alpine
FROM elixir:1.12-alpine
ENV HOME=/opt/app
WORKDIR ${HOME}
COPY --from=build _build/prod/rel/keila ${HOME}
Expand Down

0 comments on commit 7388990

Please sign in to comment.