Skip to content

Commit

Permalink
Fix plugin-dev, add new platform
Browse files Browse the repository at this point in the history
  • Loading branch information
rolljee committed Dec 6, 2023
1 parent eaf1366 commit c9ab6ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/kuzzle-plugin-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- master

env:
DOCKER_PLATFORMS: "linux/amd64,linux/arm64,linux/arm/v7"

jobs:
dockerhub-deploy:
name: Kuzzle plugin-dev Node.js
Expand Down Expand Up @@ -38,5 +41,5 @@ jobs:
context: .
file: ./docker/images/plugin-dev/Dockerfile
push: true
platforms: "linux/amd64,linux/arm64"
platforms: ${{ env.DOCKER_PLATFORMS }}
tags: kuzzleio/plugin-dev:${{ steps.get-version.outputs.major-version }},kuzzleio/plugin-dev:latest,kuzzleio/plugin-dev:${{ steps.get-version.outputs.version }}
4 changes: 1 addition & 3 deletions docker/images/plugin-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ RUN set -x \
libzmq3-dev \
libunwind-dev

RUN npm install -g ergol kourou

WORKDIR /app

ADD ./bin bin
Expand All @@ -23,7 +21,7 @@ ADD ./package-lock.json package-lock.json
ADD ./index.ts index.ts
ADD ./tsconfig.json tsconfig.json

RUN npm ci
RUN npm ci --noproxy registry.npmjs.org --maxsockets 1
RUN npm run build
RUN npm prune --production

Expand Down

0 comments on commit c9ab6ef

Please sign in to comment.