Skip to content

Commit

Permalink
Don't build microservice-images for assistify
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimpson committed Dec 7, 2020
1 parent 9e231ee commit 7d5e7f0
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -451,43 +451,3 @@ jobs:
docker build -t ${IMAGE}:develop .
docker push ${IMAGE}:develop
services-image-build:
runs-on: ubuntu-latest
needs: deploy

strategy:
matrix:
service: ["account", "authorization", "ddp-streamer", "presence", "stream-hub"]

steps:
- uses: actions/checkout@v2

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

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}

- name: Build Docker images
run: |
# defines image tag
if [[ $GITHUB_REF == refs/tags/* ]]; then IMAGE_TAG="${GITHUB_REF#refs/tags/}"; else IMAGE_TAG="${GITHUB_REF#refs/heads/}"; fi
# first install repo dependencies
npm i
# then micro services dependencies
cd ./ee/server/services
npm i
npm run build
echo "Building Docker image for service: ${{ matrix.service }}:${IMAGE_TAG}"
docker build --build-arg SERVICE=${{ matrix.service }} -t rocketchat/${{ matrix.service }}-service:${IMAGE_TAG} .
docker push rocketchat/${{ matrix.service }}-service

0 comments on commit 7d5e7f0

Please sign in to comment.