change build arg
This commit is contained in:
@@ -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: |
|
||||
|
@@ -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
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "site-profile",
|
||||
"type": "module",
|
||||
"version": "0.8.4",
|
||||
"version": "0.8.5",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
|
Reference in New Issue
Block a user