From 03890d24315dc8f3296c281f8e6bf7529978dfa5 Mon Sep 17 00:00:00 2001 From: shibao Date: Sat, 26 Nov 2022 23:26:53 -0500 Subject: [PATCH] update drone --- .drone.yml | 10 +++++----- Dockerfile | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index a4ef025..bc42f5d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ kind: pipeline type: docker -name: memEx +name: memex steps: - name: restore-cache @@ -16,7 +16,7 @@ steps: - assets/node_modules/ - name: test - image: elixir:1.13.4-alpine + image: elixir:1.14.1-alpine environment: TEST_DATABASE_URL: ecto://postgres:postgres@database/memex_test HOST: testing.example.tld @@ -29,7 +29,7 @@ steps: - npm --prefix ./assets ci --progress=false --no-audit --loglevel=error - npm run --prefix ./assets deploy - mix do phx.digest, gettext.extract - - mix test + - mix test.all - name: build and publish stable image: thegeeklab/drone-docker-buildx @@ -38,7 +38,7 @@ steps: repo: shibaobun/memex purge: true compress: true - platforms: linux/amd64,linux/arm64,linux/arm/v7 + platforms: linux/amd64,linux/arm/v7 username: from_secret: docker_username password: @@ -55,7 +55,7 @@ steps: repo: shibaobun/memex purge: true compress: true - platforms: linux/amd64,linux/arm64,linux/arm/v7 + platforms: linux/amd64,linux/arm/v7 username: from_secret: docker_username password: diff --git a/Dockerfile b/Dockerfile index 915c983..87c7610 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM elixir:1.13-alpine AS build +FROM elixir:1.14-alpine AS build # install build dependencies RUN apk add --no-cache build-base npm git python3