feat(api+engine): add per-workspace all-actions override for error details #6938
This file contains hidden or 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: Test pnpm build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "frontend/**" | |
| - ".github/workflows/test-pnpm-build.yml" | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "frontend/**" | |
| - ".github/workflows/test-pnpm-build.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| push-ui-to-ghcr-test: | |
| runs-on: blacksmith-4vcpu-ubuntu-2204 | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - name: Disable IPv6 (Blacksmith VMs lack IPv6 routing) | |
| run: | | |
| sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 | |
| sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1 | |
| - name: Set up Docker builder | |
| uses: useblacksmith/setup-docker-builder@78f41686563c732ccc097f7baac2f092f67538f0 # v1 | |
| - name: Extract Docker metadata | |
| id: meta | |
| uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5 | |
| with: | |
| images: | | |
| ghcr.io/tracecathq/tracecat-ui | |
| tags: | | |
| type=ref,event=branch | |
| type=ref,event=pr | |
| type=semver,pattern=v{{version}} | |
| type=semver,pattern=v{{major}}.{{minor}} | |
| - name: Build Docker image | |
| uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6 | |
| env: | |
| NEXT_PUBLIC_API_URL: http://localhost:8000 | |
| NEXT_PUBLIC_APP_ENV: production | |
| NEXT_PUBLIC_APP_URL: http://localhost:3000 | |
| NEXT_SERVER_API_URL: http://localhost:8000 | |
| NODE_ENV: production | |
| with: | |
| context: frontend | |
| file: frontend/Dockerfile.prod | |
| build-args: | | |
| NEXT_PUBLIC_API_URL=${{ env.NEXT_PUBLIC_API_URL }} | |
| NEXT_PUBLIC_APP_ENV=${{ env.NEXT_PUBLIC_APP_ENV }} | |
| NEXT_PUBLIC_APP_URL=${{ env.NEXT_PUBLIC_APP_URL }} | |
| NEXT_SERVER_API_URL=${{ env.NEXT_SERVER_API_URL }} | |
| NODE_ENV=${{ env.NODE_ENV }} | |
| push: false | |
| tags: ${{ steps.meta.outputs.tags }} | |
| labels: ${{ steps.meta.outputs.labels }} |