Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
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 }}
|
||||
@@ -70,7 +73,7 @@ jobs:
|
||||
tags: ${{ env.TEST_TAG }}
|
||||
file: ./Dockerfile
|
||||
build-args: |
|
||||
REGISTRY=harbor.alexlebens.net/v2/proxy-registry-1.docker.io/
|
||||
REGISTRY=hub.docker
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
@@ -86,7 +89,7 @@ jobs:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
file: ./Dockerfile
|
||||
build-args: |
|
||||
REGISTRY=harbor.alexlebens.net/v2/proxy-registry-1.docker.io/
|
||||
REGISTRY=hub.docker
|
||||
|
||||
- name: Actions Ntfy
|
||||
run: |
|
||||
|
@@ -1,7 +1,7 @@
|
||||
ARG REGISTRY
|
||||
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.5"
|
||||
LABEL description="Astro based personal website"
|
||||
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
@@ -21,7 +21,7 @@ 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
|
||||
RUN pnpm prune --omit=dev
|
||||
|
||||
FROM base AS runtime
|
||||
COPY --from=prod-deps /app/node_modules /app/node_modules
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "site-profile",
|
||||
"type": "module",
|
||||
"version": "0.8.4",
|
||||
"version": "0.8.5",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
|
Reference in New Issue
Block a user