From e358cd6e4e7f1ff97356414754fefe40f532a1b1 Mon Sep 17 00:00:00 2001 From: shibao Date: Sun, 16 Jun 2024 12:13:34 -0400 Subject: [PATCH] downgrade versions until hex is supported in build --- .drone.yml | 2 +- .tool-versions | 4 ++-- Dockerfile | 2 +- mix.exs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6049a8f..cd9e9c6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,7 +17,7 @@ steps: - .mix - name: test - image: elixir:1.17.0-otp-27-alpine + image: elixir:1.16.3-otp-26-alpine environment: TEST_DATABASE_URL: ecto://postgres:postgres@database/cannery_test HOST: testing.example.tld diff --git a/.tool-versions b/.tool-versions index 351230f..416569b 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,3 +1,3 @@ -elixir 1.17.0-otp-27 -erlang 27.0 +elixir 1.16.3-otp-26 +erlang 26.0 nodejs 22.3.0 diff --git a/Dockerfile b/Dockerfile index 4e1d228..b7dd97f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM elixir:1.17.0-otp-27-alpine AS build +FROM elixir:1.16.3-otp-26-alpine AS build # install build dependencies RUN apk add --no-cache build-base npm git python3 diff --git a/mix.exs b/mix.exs index 379d387..759035c 100644 --- a/mix.exs +++ b/mix.exs @@ -5,7 +5,7 @@ defmodule Cannery.MixProject do [ app: :cannery, version: "0.9.10", - elixir: "1.17.0", + elixir: "1.16.3", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, aliases: aliases(),