mirror of
https://github.com/bastienwirtz/homer.git
synced 2024-11-07 08:44:00 +01:00
fix(ci) run build stage on build platform arch
This commit is contained in:
parent
08bc4f417d
commit
0d0df3d568
1
.github/workflows/dockerhub.yml
vendored
1
.github/workflows/dockerhub.yml
vendored
@ -8,6 +8,7 @@ on:
|
||||
jobs:
|
||||
dockerhub:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
|
1
.github/workflows/integration.yml
vendored
1
.github/workflows/integration.yml
vendored
@ -12,6 +12,7 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
|
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -9,6 +9,7 @@ jobs:
|
||||
build:
|
||||
name: Upload Release Asset
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
|
@ -1,10 +1,10 @@
|
||||
# build stage
|
||||
FROM node:18-alpine3.19 as build-stage
|
||||
FROM --platform=$BUILDPLATFORM node:22-alpine3.20 AS build-stage
|
||||
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
ENV PATH="$PNPM_HOME:$PATH"
|
||||
RUN corepack enable
|
||||
RUN corepack use pnpm@8
|
||||
RUN corepack use pnpm@9
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@ -15,7 +15,7 @@ COPY . .
|
||||
RUN pnpm build
|
||||
|
||||
# production stage
|
||||
FROM alpine:3.19
|
||||
FROM alpine:3.20
|
||||
|
||||
ENV GID 1000
|
||||
ENV UID 1000
|
||||
|
Loading…
Reference in New Issue
Block a user