Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
cd75440a6d | |||
3354975e2e | |||
1ffe933d6e | |||
90318aad14 | |||
e454a510c6 | |||
a6d3ec5052 | |||
1d134d43da | |||
54c7c9e259 | |||
0d8cf28be4 | |||
d78a8d8c45 |
@@ -41,6 +41,9 @@ jobs:
|
||||
driver-opts: |
|
||||
namespace=gitea
|
||||
qemu.install=true
|
||||
buildkitd-config-inline: |
|
||||
[registry."hub.docker"]
|
||||
mirrors = ["harbor.alexlebens.net/proxy-hub.docker/"]
|
||||
|
||||
- name: Available Platforms
|
||||
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||
@@ -69,8 +72,6 @@ jobs:
|
||||
load: true
|
||||
tags: ${{ env.TEST_TAG }}
|
||||
file: ./Dockerfile
|
||||
build-args: |
|
||||
REGISTRY=harbor.alexlebens.net/v2/proxy-registry-1.docker.io/
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
@@ -85,8 +86,6 @@ jobs:
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
file: ./Dockerfile
|
||||
build-args: |
|
||||
REGISTRY=harbor.alexlebens.net/v2/proxy-registry-1.docker.io/
|
||||
|
||||
- name: Actions Ntfy
|
||||
run: |
|
||||
|
@@ -1,7 +1,7 @@
|
||||
ARG REGISTRY
|
||||
FROM ${REGISTRY}node:22.16.0-alpine3.22 AS base
|
||||
ARG REGISTRY=hub.docker
|
||||
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"
|
||||
|
||||
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
|
||||
COPY . .
|
||||
RUN pnpm run build
|
||||
RUN npm prune --production
|
||||
|
||||
FROM base AS runtime
|
||||
COPY --from=prod-deps /app/node_modules /app/node_modules
|
||||
@@ -33,4 +32,4 @@ ENV DIRECTUS_URL=https://directus.alexlebens.dev
|
||||
ENV PORT=4321
|
||||
|
||||
EXPOSE $PORT
|
||||
CMD node ./dist/server/entry.mjs
|
||||
CMD ["node", "./dist/server/entry.mjs"]
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "site-profile",
|
||||
"type": "module",
|
||||
"version": "0.8.4",
|
||||
"version": "0.8.7",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
|
Reference in New Issue
Block a user