Skip to content

Add_if_else_invoke

Add_if_else_invoke #91

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
permissions:
id-token: write
checks: write
pull-requests: write
contents: write
jobs:
ci:
uses: SolaceDev/solace-public-workflows/.github/workflows/[email protected]
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}
structure-test:
name: Test Docker Image Structure
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ssh-key: ${{ secrets.COMMIT_KEY }}
- name: Set up Hatch
uses: SolaceDev/solace-public-workflows/.github/actions/[email protected]
- name: Set Up Docker Buildx
id: builder
uses: docker/setup-buildx-action@v3
- name: Prepare env file
run: |
cp .env_template .env
- name: Build Docker Image
uses: docker/build-push-action@v6
with:
push: false
tags: solace/solace-ai-connector:local
platforms: linux/amd64
builder: ${{ steps.builder.outputs.name }}
load: true
- name: Run Structure Tests
shell: bash
run: |
hatch run make structure-test