Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update deps & nodejs 22 #2573

Merged
merged 17 commits into from
Jan 8, 2025
Merged
Prev Previous commit
Next Next commit
chore: need publish runner 22
rolljee committed Jan 7, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 596f0a4a252238a76070a4a464838fc9acf67ed0
36 changes: 36 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
@@ -8,16 +8,52 @@ on:
pull_request:

env:
DOCKER_PLATFORMS: "linux/amd64,linux/arm64,linux/arm/v7"
NODE_LTS_MAINTENANCE_VERSION: "18"
NODE_LTS_ACTIVE_VERSION: "20"
NODE_LTS_CURRENT_VERSION: "22"
ELASTICSEARCH_MAINTENANCE_VERSION: "7"
ELASTICSEARCH_ACTIVE_VERSION: "8"

jobs:
publish-runner:
name: Kuzzle runner Docker image
runs-on: ubuntu-24.04
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- uses: actions/checkout@v4

- name: Install additional libraries
uses: ./.github/actions/install-packages

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push
uses: docker/build-push-action@v6
with:
context: ./docker/images/kuzzle-runner
file: ./docker/images/kuzzle-runner/Dockerfile
push: true
build-args: NODE_VERSION=${{ matrix.node-version }}
platforms: ${{ env.DOCKER_PLATFORMS }}
tags: kuzzleio/kuzzle-runner:${{ matrix.node-version }}

prepare-matrix:
name: Forge Node LTS Matrix
runs-on: ubuntu-24.04
needs: [publish-runner]
steps:
- id: set-matrix
run: |
Loading