Skip to content

Update Sentryflow

Update Sentryflow #6

name: sentryflow-pr-checks
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Docker Build
uses: docker/setup-buildx-action@v1
- name: Get tag
id: tag
run: |
if [ ${{ github.ref }} == "refs/heads/main" ]; then
echo "tag=latest" >> $GITHUB_OUTPUT
else
echo "tag=tmp" >> $GITHUB_OUTPUT
fi
- name: Build SentryFlow Docker Image
working-directory: ./SentryFlow
run: |
make TAG=${{ steps.tag.outputs.tag }} image
- name: Build SentryFlow AI Engine Docker Image
working-directory: ./ai-engine
run: |
make TAG=${{ steps.tag.outputs.tag }} build