Skip to content

fix(ZMSKVR-1012): skip button combinable services (#1768) #5373

fix(ZMSKVR-1012): skip button combinable services (#1768)

fix(ZMSKVR-1012): skip button combinable services (#1768) #5373

name: Frontend Build
on:
push:
permissions:
contents: read
packages: write
jobs:
build:
runs-on: ubuntu-latest
env:
TZ: Europe/Berlin # timezone
strategy:
fail-fast: false
matrix:
include: # hier müssen die Pfade angegeben werden
- app-path: zmscitizenview
steps:
- uses: it-at-m/lhm_actions/action-templates/actions/action-checkout@12966547963631f8429d42bab860485b413003c2 # v1.0.22
- if: ${{hashFiles(format('./{0}/package.json', matrix.app-path))!=null}}
id: node
uses: it-at-m/lhm_actions/action-templates/actions/action-npm-build@12966547963631f8429d42bab860485b413003c2 # v1.0.22
with:
app-path: "${{ matrix.app-path }}"
- if: ${{hashFiles(format('./{0}/pom.xml', matrix.app-path))!=null}}
id: maven
uses: it-at-m/lhm_actions/action-templates/actions/action-maven-build@12966547963631f8429d42bab860485b413003c2 # v1.0.22
with:
app-path: "${{ matrix.app-path }}"
- uses: it-at-m/lhm_actions/action-templates/actions/action-build-image@12966547963631f8429d42bab860485b413003c2 # v1.0.22
with:
path: "${{ matrix.app-path }}"
image-name: "${{ matrix.app-path }}"
artifact-name: ${{join(steps.*.outputs.artifact-name)}}
registry-password: ${{ secrets.GITHUB_TOKEN }}
registry-username: ${{ github.actor }}
image-tags: ${{ github.ref_type == 'tag' && github.ref_name || format('branch-{0}', github.ref_name) }}