From ebe76b4fbf09ba5eac6a0300d9b02bf13ec65160 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 1 Nov 2023 00:33:16 +0000 Subject: [PATCH] Pin dependencies --- .github/workflows/container.yml | 6 +-- .github/workflows/lara.yml | 6 +-- Dockerfile | 4 +- package.json | 90 ++++++++++++++++----------------- 4 files changed, 53 insertions(+), 53 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index b4ee8818b..6ad3e16ff 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -22,7 +22,7 @@ jobs: fetch-depth: 0 - name: Get branch name id: branch-name - uses: tj-actions/branch-names@v7 + uses: tj-actions/branch-names@033f2358d95522973eee35810e35a86fae4a71d8 # v7 - name: Log in to the Container registry uses: docker/login-action@1f401f745bf57e30b3a2800ad308a87d2ebdf14b @@ -33,7 +33,7 @@ jobs: - name: Semantic versioning id: versioning - uses: PaulHatch/semantic-version@v5.3.0 + uses: PaulHatch/semantic-version@8d3552d38408b608e90e76237a2a5ac9fe524d04 # v5.3.0 with: branch: develop tag_prefix: "v" @@ -43,7 +43,7 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} labels: | diff --git a/.github/workflows/lara.yml b/.github/workflows/lara.yml index 074b04c82..a0cad1808 100644 --- a/.github/workflows/lara.yml +++ b/.github/workflows/lara.yml @@ -20,7 +20,7 @@ jobs: with: php-version: '8.0' - name: setup database - uses: shogo82148/actions-setup-mysql@v1.26.0 + uses: shogo82148/actions-setup-mysql@3226d3e8a0600be87669e55a818e9ab7bf6f7476 # v1.26.0 with: distribution: 'mariadb' mysql-version: '10.9' @@ -32,11 +32,11 @@ jobs: - name: Install Dependencies run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4 with: node-version: ${{env.NODE_VERSION}} - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/Dockerfile b/Dockerfile index b01b83670..2b09a96ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine as node +FROM node:20-alpine@sha256:8e015de364a2eb2ed7c52a558e9f716dcb615560ffd132234087c10ccc1f2c63 as node COPY ./ /Lara RUN cd /Lara && npm install && npm run prod @@ -6,7 +6,7 @@ FROM docker.io/bitnami/git:latest as gitstage COPY --from=node /Lara /Lara RUN cd /Lara && sh git-create-revisioninfo-hook.sh -FROM php:8.2.12-fpm +FROM php:8.2.12-fpm@sha256:08275f36d2c2a4b1e12b29b87dfb8c04e2c42000aef2b16764714bdba99acd79 COPY --from=composer /usr/bin/composer /usr/bin/composer RUN docker-php-ext-install -j$(nproc) mysqli RUN docker-php-ext-install -j$(nproc) pdo diff --git a/package.json b/package.json index dc706dee6..901875ef8 100644 --- a/package.json +++ b/package.json @@ -12,51 +12,51 @@ }, "devDependencies": { "@fortawesome/fontawesome-free": "^6.4.2", - "@types/bootbox": "^5.2.6", - "@types/bootstrap": "^5", - "@types/isotope-layout": "^3.0.11", - "@types/jquery": "^3.5.25", - "@types/lodash": "^4.14.200", - "@types/sortablejs": "^1.15.4", - "autoprefixer": "^10.4.16", - "axios": "^1.6.0", - "bootstrap": "^5.3.2", - "bootstrap-table": "^1.22.1", - "bootswatch": "^5.3.2", - "clean-webpack-plugin": "^4.0.0", - "clipboard": "^2.0.11", - "cross-env": "^7.0.3", - "css-loader": "^6.8.1", - "css-minimizer-webpack-plugin": "^5.0.1", - "es-cookie": "^1.4.0", - "es6-promise": "^4.2.8", - "file-loader": "^6.2.0", - "html5shiv": "^3.7.3", - "imports-loader": "^4.0.1", - "isotope-layout": "^3.0.6", - "jquery": "^3.7.1", - "lodash": "^4.17.21", - "mini-css-extract-plugin": "^2.7.6", - "moment-locales-webpack-plugin": "^1.2.0", - "node-sass": "^9.0.0", - "postcss-loader": "^7.3.3", - "precss": "^4.0.0", - "respond.js": "^1.4.2", - "sass": "^1.69.5", - "sass-loader": "^13.3.2", - "style-loader": "^3.3.3", - "terser-webpack-plugin": "^5.3.9", - "tooltip.js": "^1.3.0", - "ts-loader": "^9.5.0", - "typescript": "^5.2.2", - "vue": "^3.3.7", - "webpack": "^5.89.0", - "webpack-assets-manifest": "^5.1.0", - "webpack-chunk-hash": "^0.6.0", - "webpack-cli": "^5.1.4", - "webpack-livereload-plugin": "^3.0.2", - "webpack-manifest-plugin": "^5.0.0", - "yargs": "^17.7.2" + "@types/bootbox": "5.2.6", + "@types/bootstrap": "5.2.8", + "@types/isotope-layout": "3.0.11", + "@types/jquery": "3.5.25", + "@types/lodash": "4.14.200", + "@types/sortablejs": "1.15.4", + "autoprefixer": "10.4.16", + "axios": "1.6.0", + "bootstrap": "5.3.2", + "bootstrap-table": "1.22.1", + "bootswatch": "5.3.2", + "clean-webpack-plugin": "4.0.0", + "clipboard": "2.0.11", + "cross-env": "7.0.3", + "css-loader": "6.8.1", + "css-minimizer-webpack-plugin": "5.0.1", + "es-cookie": "1.4.0", + "es6-promise": "4.2.8", + "file-loader": "6.2.0", + "html5shiv": "3.7.3", + "imports-loader": "4.0.1", + "isotope-layout": "3.0.6", + "jquery": "3.7.1", + "lodash": "4.17.21", + "mini-css-extract-plugin": "2.7.6", + "moment-locales-webpack-plugin": "1.2.0", + "node-sass": "9.0.0", + "postcss-loader": "7.3.3", + "precss": "4.0.0", + "respond.js": "1.4.2", + "sass": "1.69.5", + "sass-loader": "13.3.2", + "style-loader": "3.3.3", + "terser-webpack-plugin": "5.3.9", + "tooltip.js": "1.3.3", + "ts-loader": "9.5.0", + "typescript": "5.2.2", + "vue": "3.3.7", + "webpack": "5.89.0", + "webpack-assets-manifest": "5.1.0", + "webpack-chunk-hash": "0.6.0", + "webpack-cli": "5.1.4", + "webpack-livereload-plugin": "3.0.2", + "webpack-manifest-plugin": "5.0.0", + "yargs": "17.7.2" }, "private": true, "scripts": {