Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
05eb8a092c | |||
633e374a17 |
@@ -53,14 +53,8 @@ jobs:
|
|||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
tags: |
|
tags: |
|
||||||
type=schedule
|
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=ref,event=tag
|
type=ref,event=tag
|
||||||
type=ref,event=pr
|
|
||||||
type=semver,pattern={{version}}
|
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
|
||||||
type=semver,pattern={{major}}
|
|
||||||
type=sha
|
|
||||||
images: |
|
images: |
|
||||||
${{ vars.REPOSITORY_HOST }}/${{ gitea.repository }}
|
${{ vars.REPOSITORY_HOST }}/${{ gitea.repository }}
|
||||||
${{ vars.REGISTRY_HOST }}/images/site-profile
|
${{ vars.REGISTRY_HOST }}/images/site-profile
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
ARG REGISTRY=hub.docker
|
ARG REGISTRY=hub.docker
|
||||||
FROM ${REGISTRY}/node:22.16.0-alpine3.22 AS base
|
FROM ${REGISTRY}/node:22.16.0-alpine3.22 AS base
|
||||||
|
|
||||||
LABEL version="0.8.7"
|
LABEL version="0.8.8"
|
||||||
LABEL description="Astro based personal website"
|
LABEL description="Astro based personal website"
|
||||||
|
|
||||||
ENV PNPM_HOME="/pnpm"
|
ENV PNPM_HOME="/pnpm"
|
||||||
@@ -13,10 +13,10 @@ WORKDIR /app
|
|||||||
COPY package.json pnpm-lock.yaml ./
|
COPY package.json pnpm-lock.yaml ./
|
||||||
|
|
||||||
FROM base AS prod-deps
|
FROM base AS prod-deps
|
||||||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --save form-data
|
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod
|
||||||
|
|
||||||
FROM prod-deps AS build-deps
|
FROM prod-deps AS build-deps
|
||||||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --save form-data
|
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install
|
||||||
|
|
||||||
FROM build-deps AS build
|
FROM build-deps AS build
|
||||||
COPY . .
|
COPY . .
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "site-profile",
|
"name": "site-profile",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.8.7",
|
"version": "0.8.8",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
|
Reference in New Issue
Block a user