Skip to content

Commit

Permalink
Regression: Add eslint package to micro services Dockerfile (#25311)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego authored Apr 26, 2022
1 parent 62b2a3d commit 4faf356
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,38 @@ jobs:
docker build -t $IMAGE_NAME .
docker push $IMAGE_NAME
services-image-build-check:
runs-on: ubuntu-20.04
if: github.event.pull_request.head.repo.full_name == github.repository

strategy:
matrix:
service:
["ddp-streamer"]

steps:
- uses: actions/checkout@v3

- name: Use Node.js 14.18.3
uses: actions/setup-node@v3
with:
node-version: "14.18.3"

- name: Build Docker images
env:
IMAGE_TAG: check
run: |
yarn
yarn build:services
echo "Building Docker image for service: ${{ matrix.service }}:${IMAGE_TAG}"
docker build \
--build-arg SERVICE=${{ matrix.service }} \
-t rocketchat/${{ matrix.service }}-service:${IMAGE_TAG} \
-f ./apps/meteor/ee/server/services/Dockerfile \
.
release-versions:
runs-on: ubuntu-latest
outputs:
Expand Down
1 change: 1 addition & 0 deletions apps/meteor/ee/server/services/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ COPY ./.yarn/plugins .yarn/plugins
COPY ./.yarn/releases .yarn/releases

COPY ./packages/core-typings packages/core-typings
COPY ./packages/eslint-config packages/eslint-config
COPY ./packages/rest-typings packages/rest-typings

COPY ./apps/meteor/ee/server/services apps/meteor/ee/server/services
Expand Down

0 comments on commit 4faf356

Please sign in to comment.