From f5687469695373f48f644e9677e36c4f7c467765 Mon Sep 17 00:00:00 2001 From: Anton Georgiev Date: Wed, 21 Oct 2026 09:34:54 -0400 Subject: [PATCH] Run GitHub Actions on Node 24 and refresh the nvm installer Move every action to the first major that runs on the node24 runtime: actions/checkout v5, setup-buildx-action v4, login-action v4 and build-push-action v7. The previous pins (checkout v3, setup-buildx v2, login v2, build-push v4) still ran on node16. Bump the nvm install script from v0.39.0 to v0.40.8 and drop the standalone "nvm use" step, which had no effect beyond its own layer; the default alias and PATH already select NODE_VERSION. --- .github/workflows/ci.build.push.yml | 8 ++++---- Dockerfile | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.build.push.yml b/.github/workflows/ci.build.push.yml index bae53a3..8e3224b 100644 --- a/.github/workflows/ci.build.push.yml +++ b/.github/workflows/ci.build.push.yml @@ -19,15 +19,15 @@ jobs: steps: - name: Checkout if: contains(env.DOCKER_BUILD_ENABLED, 'true') - uses: actions/checkout@v3 + uses: actions/checkout@v5 - name: Set up Docker Buildx if: contains(env.DOCKER_BUILD_ENABLED, 'true') - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v4 - name: Login to DockerHub if: contains(env.DOCKER_BUILD_ENABLED, 'true') - uses: docker/login-action@v2 + uses: docker/login-action@v4 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -46,7 +46,7 @@ jobs: - name: Build and Push branch if: contains(env.DOCKER_BUILD_ENABLED, 'true') - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v7 with: push: true tags: | diff --git a/Dockerfile b/Dockerfile index 04743f6..1ca4051 100644 --- a/Dockerfile +++ b/Dockerfile @@ -149,10 +149,9 @@ RUN apt-get update && apt-get install -y \ RUN update-java-alternatives -s java-1.21.0-openjdk-amd64 -RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash +RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash ENV NVM_DIR=/root/.nvm RUN . "$NVM_DIR/nvm.sh" && nvm install ${NODE_VERSION} -RUN . "$NVM_DIR/nvm.sh" && nvm use v${NODE_VERSION} RUN . "$NVM_DIR/nvm.sh" && nvm alias default v${NODE_VERSION} ENV PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}" RUN node --version