Skip to content

Add maxsockets to 1 to avoid network issue while installing #2

Add maxsockets to 1 to avoid network issue while installing

Add maxsockets to 1 to avoid network issue while installing #2

Workflow file for this run

name: kuzzleio/kuzzle
on:
push:
branches:
- master
env:
DOCKER_PLATFORMS: "linux/amd64,linux/arm64,linux/arm/v7"
jobs:
dockerhub-deploy:
name: Kuzzle core Node.js
runs-on: ubuntu-22.04
steps:
- name: Checkout project
uses: actions/checkout@v3
- 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: Get current version from package.json
shell: bash
id: get-version
run: |
echo "version=$(jq -r .version package.json)" >> $GITHUB_OUTPUT
echo "major-version=$(jq -r .version package.json | cut -d. -f 1)" >> $GITHUB_OUTPUT
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/images/kuzzle/Dockerfile
push: true
platforms: ${{ env.DOCKER_PLATFORMS }}
tags: kuzzleio/kuzzle:${{ steps.get-version.outputs.major-version }},kuzzleio/kuzzle:latest,kuzzleio/kuzzle:${{ steps.get-version.outputs.version }}