From 04df1553ceffffa5311e2b5f7b5e0e276c8dd8c3 Mon Sep 17 00:00:00 2001 From: Fabrizio Date: Thu, 6 Jun 2024 09:33:54 +0200 Subject: [PATCH] fix: docker base image upgrade (#497) --- .github/workflows/mirror.yml | 2 ++ .github/workflows/release.yml | 1 + Dockerfile | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 6125728b..de826350 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -34,4 +34,6 @@ jobs: src: docker.io/supabase/storage-api:${{ inputs.version }} dst: | public.ecr.aws/supabase/storage-api:${{ inputs.version }} + public.ecr.aws/supabase/storage-api:latest ghcr.io/supabase/storage-api:${{ inputs.version }} + ghcr.io/supabase/storage-api:latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 53d58839..e00f41e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,6 +57,7 @@ jobs: ghcr.io/supabase/storage-api tags: | type=raw,value=v${{ needs.release.outputs.version }} + type=raw,value=latest - uses: docker/setup-qemu-action@v2 with: diff --git a/Dockerfile b/Dockerfile index c511b2c2..b30fddde 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Base stage for shared environment setup -FROM node:20-alpine as base +FROM node:20-alpine3.20 as base RUN apk add --no-cache g++ make python3 WORKDIR /app COPY package.json package-lock.json ./