Compare commits

...

4 Commits

Author SHA1 Message Date
a1c56205dd chore(deps): update dependency python to 3.14
Some checks failed
test-build / build (pull_request) Successful in 1m11s
test-build / guarddog (pull_request) Failing after 1m39s
2026-02-14 23:12:22 +00:00
a8d6446674 feat: add docker login
All checks were successful
test-build / guarddog (push) Successful in 1m47s
renovate / renovate (push) Successful in 3m1s
test-build / build (push) Successful in 3m21s
2026-02-14 17:09:33 -06:00
fcd3057f40 feat: release 2.10.0
Some checks failed
test-build / guarddog (push) Successful in 1m52s
renovate / renovate (push) Successful in 2m6s
test-build / build (push) Successful in 3m18s
release-image-gitea / build (push) Successful in 1m26s
release-image-harbor / build (push) Successful in 1m28s
release-image-gitea / release (push) Failing after 1m49s
release-image-harbor / release (push) Failing after 2m1s
2026-02-14 16:53:35 -06:00
d464f0fe43 feat: use hardened image 2026-02-14 16:52:54 -06:00
5 changed files with 21 additions and 9 deletions

View File

@@ -48,6 +48,13 @@ jobs:
username: ${{ gitea.actor }}
password: ${{ secrets.REPOSITORY_TOKEN }}
- name: Login to Docker
uses: docker/login-action@v3
with:
registry: ${{ vars.DH_REGISTRY }}
username: ${{ secrets.DH_USERNAME }}
password: ${{ secrets.DH_TOKEN }}
- name: Create Kubeconfig
run: |
mkdir $HOME/.kube

View File

@@ -48,6 +48,13 @@ jobs:
username: ${{ vars.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_SECRET }}
- name: Login to Docker
uses: docker/login-action@v3
with:
registry: ${{ vars.DH_REGISTRY }}
username: ${{ secrets.DH_USERNAME }}
password: ${{ secrets.DH_TOKEN }}
- name: Create Kubeconfig
run: |
mkdir $HOME/.kube

View File

@@ -60,7 +60,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.12'
python-version: '3.14'
- name: Install GuardDog
run: |

View File

@@ -1,15 +1,13 @@
ARG REGISTRY=docker.io
FROM ${REGISTRY}/node:24.13.1-alpine AS base
FROM docker.io/node:24.13.1-alpine AS builder
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
FROM base AS prod-deps
FROM builder AS prod-deps
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile
FROM prod-deps AS build-deps
@@ -18,9 +16,9 @@ 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 --prod
FROM base AS runtime
FROM dhi.io/node:24.13.1 AS runtime
WORKDIR /app
COPY --from=prod-deps /app/node_modules /app/node_modules
COPY --from=build /app/dist /app/dist
@@ -29,7 +27,7 @@ ENV SITE_URL=https://www.alexlebens.dev
ENV DIRECTUS_URL=https://directus.alexlebens.net
ENV PORT=4321
LABEL version="2.9.0"
LABEL version="2.10.0"
LABEL description="Astro based personal website"
EXPOSE $PORT

View File

@@ -1,7 +1,7 @@
{
"name": "site-profile",
"type": "module",
"version": "2.9.0",
"version": "2.10.0",
"homepage": "https://www.alexlebens.dev",
"bugs": {
"url": "https://gitea.alexlebens.dev/alexlebens/site-profile/issues",