fix: Common/package.json & Common/package-lock.json to reduce vulnera… #2857
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
pull_request: | |
push: | |
branches-ignore: | |
- 'hotfix-*' | |
- 'release' | |
jobs: | |
docker-build-accounts: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./Accounts/Dockerfile . | |
docker-build-isolated-vm: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./IsolatedVM/Dockerfile . | |
docker-build-home: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./Home/Dockerfile . | |
docker-build-worker: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./Worker/Dockerfile . | |
docker-build-workflow: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./Workflow/Dockerfile . | |
docker-build-otel-collector: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./OTelCollector/Dockerfile . | |
docker-build-app: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./App/Dockerfile . | |
docker-build-copilot: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./Copilot/Dockerfile . | |
docker-build-e2e: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for accounts service | |
- name: build docker image | |
run: sudo docker build -f ./E2E/Dockerfile . | |
docker-build-admin-dashboard: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for home | |
- name: build docker image | |
run: sudo docker build -f ./AdminDashboard/Dockerfile . | |
docker-build-dashboard: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for home | |
- name: build docker image | |
run: sudo docker build -f ./Dashboard/Dockerfile . | |
docker-build-haraka: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build images | |
- name: build docker image | |
run: sudo docker build -f ./Haraka/Dockerfile . | |
docker-build-probe: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image probe api | |
- name: build docker image | |
run: sudo docker build -f ./Probe/Dockerfile . | |
docker-build-ingestor: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image probe api | |
- name: build docker image | |
run: sudo docker build -f ./Ingestor/Dockerfile . | |
docker-build-status-page: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for home | |
- name: build docker image | |
run: sudo docker build -f ./StatusPage/Dockerfile . | |
docker-build-test-server: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Preinstall | |
run: npm run prerun | |
# build image for mail service | |
- name: build docker image | |
run: sudo docker build -f ./TestServer/Dockerfile . |