Skip to content

chore: Sort add validations to timeslot #84

chore: Sort add validations to timeslot

chore: Sort add validations to timeslot #84

Workflow file for this run

name: crm-api
on:
workflow_dispatch:
push:
branches:
- main
paths:
- src/Services/CRM/**
- .github/workflows/crm-api.yml
pull_request:
branches:
- main
paths:
- src/Services/CRM/**
- .github/workflows/crm-api.yml
env:
SERVICE: crm-api
IMAGE: crm-api
jobs:
BuildContainersForPR_Linux:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: ./.github/workflows/composite/build
with:
service: ${{ env.SERVICE }}
registry_endpoint: ${{ secrets.REGISTRY_ENDPOINT }}
BuildLinux:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: ./.github/workflows/composite/build-push
with:
service: ${{ env.SERVICE }}
registry_host: ${{ secrets.REGISTRY_HOST }}
registry_endpoint: ${{ secrets.REGISTRY_ENDPOINT }}
image_name: ${{ env.IMAGE }}
registry_username: ${{ secrets.REGISTRY_USERNAME }}
registry_password: ${{ secrets.REGISTRY_PASSWORD }}