mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 14:41:59 +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:
parent
9483c456d4
commit
6522707b49
3 changed files with 9 additions and 3 deletions
|
@ -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": [
|
||||||
|
|
|
@ -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 ./
|
||||||
|
|
|
@ -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 ./
|
||||||
|
|
Loading…
Reference in a new issue