diff --git a/.github/workflows/beta-docker-branch.yml b/.github/workflows/beta-docker-branch.yml index f05b3c8..0a49661 100644 --- a/.github/workflows/beta-docker-branch.yml +++ b/.github/workflows/beta-docker-branch.yml @@ -19,7 +19,7 @@ jobs: - name: Checkout id: checkout # from https://github.com/actions/checkout/commits/main - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3e4e92e..d736590 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: Checkout id: checkout # from https://github.com/actions/checkout/commits/main - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 359f2f8..2ea17dc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,12 +17,12 @@ jobs: - name: Checkout id: checkout # from https://github.com/actions/checkout/commits/main - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: persist-credentials: false fetch-depth: 0 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3 with: node-version: '18.x' - run: npm ci diff --git a/Dockerfile b/Dockerfile index 5fac49b..760287d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.19.0-buster +FROM node:18.19.0-buster@sha256:7a7c4663f8cf434a66a10ebb33e749663454aa284e3b9ccb79c454f6925c752d RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app WORKDIR /home/node/app