Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

feat(ui): allow filtering by dedicated channel cases #1192

feat(ui): allow filtering by dedicated channel cases

feat(ui): allow filtering by dedicated channel cases #1192

name: Test image build
"on":
pull_request:
paths:
- "Dockerfile"
- "docker/Dockerfile"
- "src/**"
- "pyproject.toml"
- ".github/workflows/publish-image-test.yml"
jobs:
build_image:
name: Build and test Docker image
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
with:
images: dispatch-test
tags: |
type=ref,event=pr,prefix=pr-
type=sha,prefix=sha-
- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
SOURCE_COMMIT=${{ github.sha }}
VITE_DISPATCH_COMMIT_HASH=${{ github.sha }}
# - name: Run Trivy vulnerability scanner
# uses: aquasecurity/trivy-action@master
# with:
# image-ref: "dispatch-test:${{ github.event.pull_request.head.sha || github.sha }}"
# format: "sarif"
# output: "trivy-results.sarif"
# - name: Upload Trivy scan results to GitHub Security tab
# uses: github/codeql-action/upload-sarif@v3
# if: always()
# with:
# sarif_file: "trivy-results.sarif"