variables:
    registryEndpoint: eshop-registry
trigger:
  branches:
    include:
    - master
    - dev
  paths:
    include:
    - src/BuildingBlocks/*
    - src/Web/WebhookClient/*
    - k8s/helm/webhooks-web/*  
jobs:
- template: ../buildimages.yaml
  parameters:
    services: webhooks.client
    registryEndpoint: $(registryEndpoint) 
    helmfrom: $(Build.SourcesDirectory)/k8s/helm
    helmto: $(Build.ArtifactStagingDirectory)/k8s/helm    
- template: ../multiarch.yaml
  parameters:
    image: webhooks.client
    branch: $(Build.SourceBranchName)
    registryEndpoint: $(registryEndpoint)