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