Skip to content

feat: Show login and logout button #83

feat: Show login and logout button

feat: Show login and logout button #83

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 }}