Compare commits

...

6 Commits
0.8.6 ... 0.8.9

Author SHA1 Message Date
478482ab01 remove test
Some checks failed
release-image-gitea / release (push) Failing after 21m20s
renovate / renovate (push) Successful in 10m9s
2025-06-08 22:19:00 -05:00
f1e3e4ecaa change workflow
All checks were successful
renovate / renovate (push) Successful in 1m36s
2025-06-08 22:12:43 -05:00
05eb8a092c change command
Some checks failed
renovate / renovate (push) Successful in 5m33s
release-image-gitea / release (push) Failing after 11m33s
2025-06-08 21:54:10 -05:00
633e374a17 change tags
Some checks failed
renovate / renovate (push) Has been cancelled
2025-06-08 21:47:30 -05:00
cd75440a6d remove command
Some checks failed
renovate / renovate (push) Successful in 1m7s
release-image-gitea / release (push) Failing after 14m4s
2025-06-08 20:50:39 -05:00
3354975e2e remove command
Some checks failed
renovate / renovate (push) Has been cancelled
2025-06-08 20:49:53 -05:00
4 changed files with 8 additions and 23 deletions

View File

@@ -1,3 +1,6 @@
.DS_Store
.astro
.gitea
.vscode
node_modules
dist

View File

@@ -53,30 +53,12 @@ jobs:
uses: docker/metadata-action@v5
with:
tags: |
type=schedule
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
images: |
${{ vars.REPOSITORY_HOST }}/${{ gitea.repository }}
${{ vars.REGISTRY_HOST }}/images/site-profile
- name: Build and Export to Docker
uses: docker/build-push-action@v6
with:
context: .
load: true
tags: ${{ env.TEST_TAG }}
file: ./Dockerfile
- name: Test
run: |
docker run --rm ${{ env.TEST_TAG }}
- name: Build and Push Image
uses: docker/build-push-action@v6
with:

View File

@@ -1,7 +1,7 @@
ARG REGISTRY=hub.docker
FROM ${REGISTRY}/node:22.16.0-alpine3.22 AS base
LABEL version="0.8.6"
LABEL version="0.8.9"
LABEL description="Astro based personal website"
ENV PNPM_HOME="/pnpm"
@@ -13,15 +13,15 @@ WORKDIR /app
COPY package.json pnpm-lock.yaml ./
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 --frozen-lockfile
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 --frozen-lockfile
FROM build-deps AS build
COPY . .
RUN pnpm run build
RUN pnpm prune --production
RUN pnpm prune --prod
FROM base AS runtime
COPY --from=prod-deps /app/node_modules /app/node_modules

View File

@@ -1,7 +1,7 @@
{
"name": "site-profile",
"type": "module",
"version": "0.8.6",
"version": "0.8.9",
"private": true,
"scripts": {
"dev": "astro dev",