Compare commits

...

5 Commits
0.8.5 ... 0.8.8

Author SHA1 Message Date
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
1ffe933d6e change build arg
Some checks failed
renovate / renovate (push) Successful in 1m26s
release-image-gitea / release (push) Failing after 1m24s
2025-06-08 20:45:47 -05:00
3 changed files with 6 additions and 17 deletions

View File

@@ -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
@@ -72,8 +66,6 @@ jobs:
load: true load: true
tags: ${{ env.TEST_TAG }} tags: ${{ env.TEST_TAG }}
file: ./Dockerfile file: ./Dockerfile
build-args: |
REGISTRY=hub.docker
- name: Test - name: Test
run: | run: |
@@ -88,8 +80,6 @@ jobs:
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
file: ./Dockerfile file: ./Dockerfile
build-args: |
REGISTRY=hub.docker
- name: Actions Ntfy - name: Actions Ntfy
run: | run: |

View File

@@ -1,7 +1,7 @@
ARG REGISTRY 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.5" 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,15 +13,14 @@ 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 . .
RUN pnpm run build RUN pnpm run build
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
@@ -33,4 +32,4 @@ ENV DIRECTUS_URL=https://directus.alexlebens.dev
ENV PORT=4321 ENV PORT=4321
EXPOSE $PORT EXPOSE $PORT
CMD node ./dist/server/entry.mjs CMD ["node", "./dist/server/entry.mjs"]

View File

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