Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
cd75440a6d | |||
3354975e2e | |||
1ffe933d6e | |||
90318aad14 | |||
e454a510c6 | |||
a6d3ec5052 | |||
1d134d43da | |||
54c7c9e259 | |||
0d8cf28be4 | |||
d78a8d8c45 |
@@ -41,6 +41,9 @@ jobs:
|
|||||||
driver-opts: |
|
driver-opts: |
|
||||||
namespace=gitea
|
namespace=gitea
|
||||||
qemu.install=true
|
qemu.install=true
|
||||||
|
buildkitd-config-inline: |
|
||||||
|
[registry."hub.docker"]
|
||||||
|
mirrors = ["harbor.alexlebens.net/proxy-hub.docker/"]
|
||||||
|
|
||||||
- name: Available Platforms
|
- name: Available Platforms
|
||||||
run: echo ${{ steps.buildx.outputs.platforms }}
|
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||||
@@ -69,8 +72,6 @@ jobs:
|
|||||||
load: true
|
load: true
|
||||||
tags: ${{ env.TEST_TAG }}
|
tags: ${{ env.TEST_TAG }}
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
build-args: |
|
|
||||||
REGISTRY=harbor.alexlebens.net/v2/proxy-registry-1.docker.io/
|
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
@@ -85,8 +86,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=harbor.alexlebens.net/v2/proxy-registry-1.docker.io/
|
|
||||||
|
|
||||||
- name: Actions Ntfy
|
- name: Actions Ntfy
|
||||||
run: |
|
run: |
|
||||||
|
@@ -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.4"
|
LABEL version="0.8.7"
|
||||||
LABEL description="Astro based personal website"
|
LABEL description="Astro based personal website"
|
||||||
|
|
||||||
ENV PNPM_HOME="/pnpm"
|
ENV PNPM_HOME="/pnpm"
|
||||||
@@ -21,7 +21,6 @@ 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
|
|
||||||
|
|
||||||
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"]
|
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "site-profile",
|
"name": "site-profile",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.8.4",
|
"version": "0.8.7",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
|
Reference in New Issue
Block a user