Fix cancelled runs breaking realtime subscriptions (#1533) #1903
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: 🚀 Publish Trigger.dev Docker | |
| on: | |
| workflow_call: | |
| inputs: | |
| image_tag: | |
| description: The image tag to publish | |
| required: true | |
| type: string | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - "v.docker.*" | |
| - "build-*" | |
| paths: | |
| - ".github/actions/**/*.yml" | |
| - ".github/workflows/publish.yml" | |
| - ".github/workflows/typecheck.yml" | |
| - ".github/workflows/unit-tests.yml" | |
| - ".github/workflows/e2e.yml" | |
| - ".github/workflows/publish-webapp.yml" | |
| - ".github/workflows/publish-worker.yml" | |
| - "packages/**" | |
| - "!packages/**/*.md" | |
| - "!packages/**/*.eslintrc" | |
| - "apps/**" | |
| - "!apps/**/*.md" | |
| - "!apps/**/*.eslintrc" | |
| - "integrations/**" | |
| - "!integrations/**/*.md" | |
| - "!integrations/**/*.eslintrc" | |
| - "pnpm-lock.yaml" | |
| - "pnpm-workspace.yaml" | |
| - "turbo.json" | |
| - "docker/Dockerfile" | |
| - "docker/scripts/**" | |
| - "tests/**" | |
| permissions: | |
| id-token: write | |
| packages: write | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| env: | |
| AWS_REGION: us-east-1 | |
| jobs: | |
| typecheck: | |
| uses: ./.github/workflows/typecheck.yml | |
| secrets: inherit | |
| units: | |
| uses: ./.github/workflows/unit-tests.yml | |
| secrets: inherit | |
| publish-webapp: | |
| needs: [typecheck, units] | |
| uses: ./.github/workflows/publish-webapp.yml | |
| secrets: inherit | |
| with: | |
| image_tag: ${{ inputs.image_tag }} | |
| publish-worker: | |
| needs: [typecheck, units] | |
| uses: ./.github/workflows/publish-worker.yml | |
| secrets: inherit | |
| with: | |
| image_tag: ${{ inputs.image_tag }} |