diff --git a/.drone.yml b/.drone.yml index 5206e96..7b56426 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,12 +17,12 @@ steps: - name: reuse image: fsfe/reuse:4.0.3-debian@sha256:20e70745bf4aa1d37f4ac054f4df045e4f7df7f4ec95d7abd2e263aa1323f399 - name: lint - image: node:20.18.0-alpine@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9 + image: node:20.18.0-alpine@sha256:d20da4a7c62a5ef7a3ca2526ebb0912e8c9226a870e0167b4416eb4d3bbda27e commands: - npm ci - npm run lint -- --no-fix - name: audit - image: node:20.18.0-alpine@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9 + image: node:20.18.0-alpine@sha256:d20da4a7c62a5ef7a3ca2526ebb0912e8c9226a870e0167b4416eb4d3bbda27e commands: - npm install -g better-npm-audit - better-npm-audit audit --production --level=moderate @@ -104,7 +104,7 @@ steps: - name: reuse image: fsfe/reuse:4.0.3-debian@sha256:20e70745bf4aa1d37f4ac054f4df045e4f7df7f4ec95d7abd2e263aa1323f399 - name: lint - image: node:20.18.0-alpine@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9 + image: node:20.18.0-alpine@sha256:d20da4a7c62a5ef7a3ca2526ebb0912e8c9226a870e0167b4416eb4d3bbda27e commands: - npm ci - npm run lint -- --no-fix diff --git a/Dockerfile b/Dockerfile index 213790f..f0be51b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: AGPL-3.0-or-later -FROM node:20.18.0-alpine@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9 as builder +FROM node:20.18.0-alpine@sha256:d20da4a7c62a5ef7a3ca2526ebb0912e8c9226a870e0167b4416eb4d3bbda27e as builder COPY package.json package-lock.json ./ RUN npm install