Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions .github/workflows/tat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
branches: [ main ]
tags: [ "tat-[0-9]+.[0-9]+.[0-9]+" ]
paths: [ "**" ]
pull_request:
branches: [ main ]
paths: [ "**" ]
# pull_request:
# branches: [ main ]
# paths: [ "**" ]
workflow_dispatch:
env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -62,4 +62,19 @@ jobs:
file: ./Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}

trigger-tat-service:
needs: build-and-push-image
runs-on: ubuntu-latest
steps:
- name: Trigger TAT Service Workflow
uses: octokit/request-action@v2.x
with:
route: POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches
owner: Shared-Reality-Lab
repo: IMAGE-server
workflow_id: tat-service.yml
ref: main
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_SECRET }}