diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index ee04c112..12315208 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -9,6 +9,7 @@ on: env: REGISTRY: ghcr.io GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BASE_IMAGE_NAME: ${{ env.REGISTRY }}/swissgeol-assets jobs: create-pre-release: @@ -22,7 +23,6 @@ jobs: - name: Set environment variables run: | echo VERSION=$(cat VERSION).$GITHUB_RUN_NUMBER >> $GITHUB_ENV - echo BASE_IMAGE_NAME=$REGISTRY/$(echo ${GITHUB_REPOSITORY,,}) >> $GITHUB_ENV echo COMMITED_AT=$(git show -s --format=%cI `git rev-parse HEAD`) >> $GITHUB_ENV echo REVISION=$(git rev-parse --short HEAD) >> $GITHUB_ENV diff --git a/apps/client-asset-sg/docker/Dockerfile b/apps/client-asset-sg/docker/Dockerfile index ccc9ae4e..1d8aee61 100644 --- a/apps/client-asset-sg/docker/Dockerfile +++ b/apps/client-asset-sg/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine as ui-builder +FROM node:20-alpine as ui-builder WORKDIR /app COPY . . diff --git a/apps/server-asset-sg/docker/Dockerfile b/apps/server-asset-sg/docker/Dockerfile index 79f0892a..9dd53b0b 100644 --- a/apps/server-asset-sg/docker/Dockerfile +++ b/apps/server-asset-sg/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine3.16 +FROM node:20-alpine WORKDIR /app COPY . .