✨ Deel + sage hris integrations #407
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compile Docker Images (Backend Selfhosted) | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
ENVIRONMENT: SELF_HOSTED | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Build and push Backend (API) | |
uses: docker/build-push-action@v2 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
context: . | |
file: ./packages/api/Dockerfile | |
push: false | |
tags: panoradotdev/backend-api:selfhosted | |
build-args: | | |
PANORA_BASE_API_URL=${{ env.PANORA_BASE_API_URL }} | |
DISTRIBUTION=${{ env.DISTRIBUTION }} | |
ENV=${{ ENV }} | |
DATABASE_URL=postgresql://${{env.POSTGRES_USER}}:${{secrets.POSTGRES_PASSWORD}}@${{env.POSTGRES_HOST}}:5432/${{env.POSTGRES_DB}}?ssl=false | |
JWT_SECRET=${{ secrets.JWT_SECRET }} | |
REDIS_HOST=redis | |
ENCRYPT_CRYPTO_SECRET_KEY=${{ secrets.ENCRYPT_CRYPTO_SECRET_KEY }} | |
HUBSPOT_CLIENT_ID=${{ secrets.HUBSPOT_CLIENT_ID }} | |
HUBSPOT_CLIENT_SECRET=${{ secrets.HUBSPOT_CLIENT_SECRET }} | |
ZOHOCRM_CLIENT_ID=${{ secrets.ZOHOCRM_CLIENT_ID }} | |
ZOHOCRM_CLIENT_SECRET=${{ secrets.ZOHOCRM_CLIENT_SECRET }} | |
PIPEDRIVE_CLIENT_ID=${{ secrets.PIPEDRIVE_CLIENT_ID }} | |
PIPEDRIVE_CLIENT_SECRET=${{ secrets.PIPEDRIVE_CLIENT_SECRET }} | |
ZENDESK_CLIENT_ID=${{ secrets.ZENDESK_CLIENT_ID }} | |
ZENDESK_CLIENT_SECRET=${{ secrets.ZENDESK_CLIENT_SECRET }} | |
ZENDESK_TICKETING_CLIENT_ID=${{ secrets.ZENDESK_TICKETING_CLIENT_ID }} | |
ZENDESK_TICKETING_CLIENT_SECRET=${{ secrets.ZENDESK_TICKETING_CLIENT_SECRET }} |