[AAE-13093] - Set node version of dockerfile to 16.20 (#8465)

This commit is contained in:
Ardit Domi 2023-04-12 15:21:23 +01:00 committed by GitHub
parent 0eb0ff167b
commit 9c33ed68aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 23 deletions

View File

@ -121,19 +121,9 @@ jobs:
enable-cache: false
enable-node-modules-cache: false
- uses: ./.github/actions/download-node-modules-and-artifacts
- name: Build Demoshell
- name: release Demoshell docker
run: |
nx build demoshell --configuration production
- name: install Node >=16.0 for license check
uses: actions/setup-node@v3
with:
node-version: 16.20.0
cache: 'npm'
cache-dependency-path: package-lock.json
- name: release Demoshell docker
env:
NODE_VERSION: v16.20.0
run: |
. ./scripts/github/release/docker-tag.sh
./scripts/github/release/release-demoshell-docker.sh ${{ steps.set-dryrun.outputs.dryrun }}
@ -158,19 +148,9 @@ jobs:
enable-node-modules-cache: false
act: ${{ inputs.dry-run-release }}
- uses: ./.github/actions/download-node-modules-and-artifacts
- name: Build storybook
- name: release Storybook docker
run: |
nx run stories:build-storybook --configuration ci
- name: install Node >=16.0 for license check
uses: actions/setup-node@v3
with:
node-version: 16.20.0
cache: 'npm'
cache-dependency-path: package-lock.json
- name: release Storybook docker
env:
NODE_VERSION: v16.20.0
run: |
. ./scripts/github/release/docker-tag.sh
./scripts/github/release/release-storybook-docker.sh ${{ steps.set-dryrun.outputs.dryrun }}

View File

@ -1,6 +1,6 @@
# 1. Generate licenses
FROM node:16.13-alpine3.14 AS builder
FROM node:16.20-alpine3.17 AS builder
WORKDIR /usr/src/alfresco
COPY package.json package.json