diff --git a/.github/workflows/docker-prod.yaml b/.github/workflows/docker-prod.yaml index 5e5394ac..38f4d31f 100644 --- a/.github/workflows/docker-prod.yaml +++ b/.github/workflows/docker-prod.yaml @@ -90,7 +90,7 @@ jobs: routescan_api_key=${{ secrets.VITE_APP_CFG_SERVICE_ROUTESCAN_API_KEY }} - name: Scan Docker image - uses: anchore/scan-action@df395807f4554463d4455b8047cf58e37b6acaae # v6.5.0 + uses: anchore/scan-action@e1165082ffb1fe366ebaf02d8526e7c4989ea9d2 # v7.4.0 id: scan with: image: ${{ env.REGISTRY }}/contracts-ui-builder-prod:${{ github.sha }} diff --git a/.github/workflows/docker-stg.yaml b/.github/workflows/docker-stg.yaml index 116e68f1..e697a8fe 100644 --- a/.github/workflows/docker-stg.yaml +++ b/.github/workflows/docker-stg.yaml @@ -97,7 +97,7 @@ jobs: routescan_api_key=${{ secrets.VITE_APP_CFG_SERVICE_ROUTESCAN_API_KEY }} - name: Scan Docker image - uses: anchore/scan-action@df395807f4554463d4455b8047cf58e37b6acaae # v6.5.0 + uses: anchore/scan-action@e1165082ffb1fe366ebaf02d8526e7c4989ea9d2 # v7.4.0 id: scan with: image: ${{ env.REGISTRY }}/contracts-ui-builder-stg:${{ github.sha }} diff --git a/.nvmrc b/.nvmrc index 2bd5a0a9..6f4247a6 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -22 +26 diff --git a/Dockerfile b/Dockerfile index 189a59cc..effcb05f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM node:22-slim@sha256:752ea8a2f758c34002a0461bd9f1cee4f9a3c36d48494586f60ffce1fc708e0e AS builder +FROM node:26-slim@sha256:a1d9d671994fc2d26e297ac56b4b1522a8bc7fa71c43b14cd1b1fe6c5116f7dc AS builder WORKDIR /builder @@ -77,7 +77,7 @@ RUN --mount=type=secret,id=etherscan_api_key \ pnpm build' # Runtime stage - using a slim image for a smaller footprint -FROM node:22-slim@sha256:752ea8a2f758c34002a0461bd9f1cee4f9a3c36d48494586f60ffce1fc708e0e AS runner +FROM node:26-slim@sha256:a1d9d671994fc2d26e297ac56b4b1522a8bc7fa71c43b14cd1b1fe6c5116f7dc AS runner # Set NODE_ENV to production for the final runtime image ENV NODE_ENV=production