From 90318aad148db1f908c528471e0b0f461a33fa57 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sun, 8 Jun 2025 20:39:46 -0500 Subject: [PATCH] change build arg --- .gitea/workflows/release-image.yml | 4 ++-- Dockerfile | 6 +++--- package.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/release-image.yml b/.gitea/workflows/release-image.yml index ac134aa..543f3c6 100644 --- a/.gitea/workflows/release-image.yml +++ b/.gitea/workflows/release-image.yml @@ -73,7 +73,7 @@ jobs: tags: ${{ env.TEST_TAG }} file: ./Dockerfile build-args: | - REGISTRY=hub.docker/ + REGISTRY=hub.docker - name: Test run: | @@ -89,7 +89,7 @@ jobs: labels: ${{ steps.meta.outputs.labels }} file: ./Dockerfile build-args: | - REGISTRY=hub.docker/ + REGISTRY=hub.docker - name: Actions Ntfy run: | diff --git a/Dockerfile b/Dockerfile index 3892f92..b1b03a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ARG REGISTRY -FROM ${REGISTRY}node:22.16.0-alpine3.22 AS base +FROM ${REGISTRY}/node:22.16.0-alpine3.22 AS base -LABEL version="0.8.4" +LABEL version="0.8.5" LABEL description="Astro based personal website" ENV PNPM_HOME="/pnpm" @@ -21,7 +21,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --save form-data FROM build-deps AS build COPY . . RUN pnpm run build -RUN npm prune --production +RUN pnpm prune --omit=dev FROM base AS runtime COPY --from=prod-deps /app/node_modules /app/node_modules diff --git a/package.json b/package.json index af5cbb6..090279b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "site-profile", "type": "module", - "version": "0.8.4", + "version": "0.8.5", "private": true, "scripts": { "dev": "astro dev",