Skip to content

Merge pull request #1036 from milobella/dependabot/npm_and_yarn/porta… #2615

Merge pull request #1036 from milobella/dependabot/npm_and_yarn/porta…

Merge pull request #1036 from milobella/dependabot/npm_and_yarn/porta… #2615

Workflow file for this run

name: Build website components
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-website-portal:
runs-on: ubuntu-latest
env:
APP_IMAGE_NAME: milobella/portal
steps:
- uses: actions/checkout@master
- name: Build image
if: success()
run: |
cd portal
docker build -t ${APP_IMAGE_NAME}:dev .
build-website-apps:
runs-on: ubuntu-latest
strategy:
matrix:
component: ["menu", "login", "try-it", "abilities", "nlg"]
steps:
- uses: actions/checkout@master
- name: Build image
if: success()
env:
APPLICATION_NAME: ${{ matrix.component }}
APP_IMAGE_NAME: milobella/website-app-${{ matrix.component }}
run: |
cd angular
docker build -t ${APP_IMAGE_NAME}:dev --build-arg APPLICATION_NAME .