Skip to content

Merge pull request #85 from PHT-Medic/leukoexpert_ml #60

Merge pull request #85 from PHT-Medic/leukoexpert_ml

Merge pull request #85 from PHT-Medic/leukoexpert_ml #60

Workflow file for this run

name: main
on:
push:
tags:
- v*
jobs:
build:
runs-on: [ self-hosted, docker, linux, x64 ]
strategy:
matrix:
node-version: [ 16.x ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm ci
npm run build
- name: Push to dev
env:
CONTAINER_REGISTRY: ${{ secrets.DEV_REGISTRY }},${{ secrets.DMZ_REGISTRY }},${{ secrets.STAGING_REGISTRY }}
REGISTRY_USERNAME: ${{ secrets.DEV_REGISTRY_USER }},${{ secrets.DMZ_USERNAME }},${{ secrets.STAGING_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.DEV_REGISTRY_PASSWORD }},${{ secrets.DMZ_PASSWORD }},${{ secrets.STAGING_PASSWORD }}
CENTRAL_API_CONNECTION_STRING: ${{ secrets.CENTRAL_API_CONNECTION_STRING }}
run: npm run start