1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00:00

chore(renovate): Only update to node LTS versions (#5355)

* chore(ci): Use LTS codenames for node base images

* chore(renovate): Only match node LTS versions

* chore(renovate): Pin docker digests
This commit is contained in:
bo0tzz 2023-11-28 21:50:48 +01:00 committed by GitHub
parent 9483c456d4
commit 6522707b49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"], "extends": ["config:base", "docker:pinDigests"],
"minimumReleaseAge": "5", "minimumReleaseAge": "5",
"packageRules": [ "packageRules": [
{ {
@ -47,6 +47,12 @@
{ {
"groupName": "base-image", "groupName": "base-image",
"matchPackagePrefixes": ["ghcr.io/immich-app/base-server"] "matchPackagePrefixes": ["ghcr.io/immich-app/base-server"]
},
{
"matchDatasources": ["docker"],
"matchPackageNames": ["node"],
"versionCompatibility": "^(?<version>[^-]+)(?<compatibility>-.*)?$",
"versioning": "node"
} }
], ],
"ignoreDeps": [ "ignoreDeps": [

View file

@ -13,7 +13,7 @@ RUN npm run build
RUN npm prune --omit=dev --omit=optional RUN npm prune --omit=dev --omit=optional
# web build # web build
FROM node:20.10-alpine3.18 as web FROM node:iron-alpine3.18 as web
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY web/package.json web/package-lock.json ./ COPY web/package.json web/package-lock.json ./

View file

@ -1,4 +1,4 @@
FROM node:20.10-alpine3.18 FROM node:iron-alpine3.18
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY --chown=node:node package*.json ./ COPY --chown=node:node package*.json ./