Virtual whiteboard for sketching hand-drawn like diagrams
ci(docker): fix docker dep bundling and pin remaining actions (#11398)
David Luzarc08be69618dc
diff --git a/.github/workflows/autorelease-excalidraw.yml b/.github/workflows/autorelease-excalidraw.ymlindex c365647ee8..289189fd83 100644--- a/.github/workflows/autorelease-excalidraw.yml+++ b/.github/workflows/autorelease-excalidraw.yml@@ -9,11 +9,11 @@ jobs:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v2+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:fetch-depth: 2- name: Setup Node.js- uses: actions/setup-node@v2+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: 20.x- name: Set up publish accessdiff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.ymlindex f5f9b45bbe..3e2dc3d3c5 100644--- a/.github/workflows/build-docker.yml+++ b/.github/workflows/build-docker.yml@@ -9,5 +9,5 @@ jobs:build-docker:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v2+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- run: docker build -t excalidraw .diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex cc73980d10..22ded0d079 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -7,10 +7,10 @@ jobs:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v2+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- name: Setup Node.js- uses: actions/setup-node@v2+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: 20.xdiff --git a/.github/workflows/locales-coverage.yml b/.github/workflows/locales-coverage.ymlindex 67a942438b..9a5a93adac 100644--- a/.github/workflows/locales-coverage.yml+++ b/.github/workflows/locales-coverage.yml@@ -10,12 +10,12 @@ jobs:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4with:token: ${{ secrets.PUSH_TRANSLATIONS_COVERAGE_PAT }}- name: Setup Node.js- uses: actions/setup-node@v2+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: 20.xdiff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.ymlindex d0aedcb26b..3019e9b097 100644--- a/.github/workflows/publish-docker.yml+++ b/.github/workflows/publish-docker.yml@@ -11,7 +11,7 @@ jobs:steps:- name: Checkout repository- uses: actions/checkout@v3+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- name: Login to DockerHubuses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2with:diff --git a/.github/workflows/sentry-production.yml b/.github/workflows/sentry-production.ymlindex 4434873fd3..c8270a0163 100644--- a/.github/workflows/sentry-production.yml+++ b/.github/workflows/sentry-production.yml@@ -9,9 +9,9 @@ jobs:sentry:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v2+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- name: Setup Node.js- uses: actions/setup-node@v2+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: 20.x- name: Install and builddiff --git a/.github/workflows/size-limit.yml b/.github/workflows/size-limit.ymlindex 2a24507630..4c80695f1f 100644--- a/.github/workflows/size-limit.yml+++ b/.github/workflows/size-limit.yml@@ -10,9 +10,9 @@ jobs:CI_JOB_NUMBER: 1steps:- name: Checkout repository- uses: actions/checkout@v3+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- name: Setup Node.js- uses: actions/setup-node@v3+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: 20.x- name: Install in packages/excalidrawdiff --git a/.github/workflows/test-coverage-pr.yml b/.github/workflows/test-coverage-pr.ymlindex 0cb6327564..ffd75a7c84 100644--- a/.github/workflows/test-coverage-pr.yml+++ b/.github/workflows/test-coverage-pr.yml@@ -10,9 +10,9 @@ jobs:pull-requests: writesteps:- - uses: actions/checkout@v2+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- name: "Install Node"- uses: actions/setup-node@v2+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: "20.x"- name: "Install Deps"diff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex 8bebd6c1ee..78f5e9a7d2 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -8,9 +8,9 @@ jobs:test:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4- name: Setup Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4with:node-version: 20.x- name: Install and testdiff --git a/Dockerfile b/Dockerfileindex e15b425704..a941c99980 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,4 +1,4 @@-FROM --platform=${BUILDPLATFORM} node:24 AS build+FROM --platform=${BUILDPLATFORM} node:24@sha256:8530f76a96d88820d288761f022e318970dda93d01536919fbc16076b7983e63 AS buildWORKDIR /opt/node_app@@ -7,13 +7,13 @@ COPY . .# do not ignore optional dependencies:# Error: Cannot find module @rollup/rollup-linux-x64-gnuRUN --mount=type=cache,target=/root/.cache/yarn \- npm_config_target_arch=${TARGETARCH} yarn --network-timeout 600000+ npm_config_target_arch=${TARGETARCH} yarn --frozen-lockfile --network-timeout 600000ARG NODE_ENV=productionRUN npm_config_target_arch=${TARGETARCH} yarn build:app:docker-FROM nginx:1.27-alpine+FROM nginx:stable-alpine-slim@sha256:2c605dbeab79a6b2a63340474fe58119d0ef95bdc4b1f41df0aa689659b3d13bCOPY --from=build /opt/node_app/excalidraw-app/build /usr/share/nginx/html