From 6e72b465805f481b4ad241cef78d23918714200e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 7 Apr 2025 11:43:28 +0000 Subject: [PATCH] chore(deps): pin dependencies --- .github/workflows/build.yaml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ca8aaae0..f6a2ae4b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,7 +29,7 @@ jobs: - name: Upload Cypress Screenshots if: always() # Run this step even if tests fail - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 with: name: cypress-screenshots path: | diff --git a/Dockerfile b/Dockerfile index ca25da3d..77021fd5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Use the latest LTS version of Node.js # https://hub.docker.com/_/node -FROM node:22-alpine3.20 AS build-stage +FROM node:22-alpine3.20@sha256:40be979442621049f40b1d51a26b55e281246b5de4e5f51a18da7beb6e17e3f9 AS build-stage WORKDIR /usr/src/app # Copy package.json and package-lock.json @@ -16,7 +16,7 @@ RUN npm run build # Use the latest LTS version of Nginx as the serving image # https://hub.docker.com/_/nginx -FROM nginx:1.27.4-alpine-slim +FROM nginx:1.27.4-alpine-slim@sha256:b05aceb5ec1844435cae920267ff9949887df5b88f70e11d8b2871651a596612 COPY nginx.conf /etc/nginx/templates/default.conf.template COPY --from=build-stage /usr/src/app/dist /usr/share/nginx/html \ No newline at end of file