change build arg
This commit is contained in:
@@ -73,7 +73,7 @@ jobs:
|
|||||||
tags: ${{ env.TEST_TAG }}
|
tags: ${{ env.TEST_TAG }}
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
build-args: |
|
build-args: |
|
||||||
REGISTRY=hub.docker/
|
REGISTRY=hub.docker
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
@@ -89,7 +89,7 @@ jobs:
|
|||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
build-args: |
|
build-args: |
|
||||||
REGISTRY=hub.docker/
|
REGISTRY=hub.docker
|
||||||
|
|
||||||
- name: Actions Ntfy
|
- name: Actions Ntfy
|
||||||
run: |
|
run: |
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
ARG REGISTRY
|
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"
|
LABEL description="Astro based personal website"
|
||||||
|
|
||||||
ENV PNPM_HOME="/pnpm"
|
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
|
FROM build-deps AS build
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN pnpm run build
|
RUN pnpm run build
|
||||||
RUN npm prune --production
|
RUN pnpm prune --omit=dev
|
||||||
|
|
||||||
FROM base AS runtime
|
FROM base AS runtime
|
||||||
COPY --from=prod-deps /app/node_modules /app/node_modules
|
COPY --from=prod-deps /app/node_modules /app/node_modules
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "site-profile",
|
"name": "site-profile",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.8.4",
|
"version": "0.8.5",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
|
Reference in New Issue
Block a user