Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attempt to trigger other repo #4

Merged
merged 5 commits into from
Oct 25, 2023
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
28 changes: 28 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,32 @@ on:

jobs:

trigger:
runs-on: ubuntu-latest
# only do this if we don't have a pull request
if: ${{ github.event_name != 'pull_request' }}
steps:
- uses: lasith-kg/dispatch-workflow@v1
id: workflow-dispatch_develop
name: 'Trigger re-build of desktop docker image "develop"'
with:
dispatch-method: workflow_dispatch
repo: kasm-workspaces-core-images
owner: LCAS
ref: refs/heads/develop # or main
workflow: docker-latest.yml # Or Workflow ID
token: ${{ secrets.ORGA_GH_TOKEN }} # GitHub Token With Relevant Permissions
- uses: lasith-kg/dispatch-workflow@v1
id: workflow-dispatch_nvidia_develop
name: 'Trigger re-build of desktop docker image "nvidia_develop"'
with:
dispatch-method: workflow_dispatch
repo: kasm-workspaces-core-images
owner: LCAS
ref: refs/heads/nvidia_develop # or main
workflow: docker-latest.yml # Or Workflow ID
token: ${{ secrets.ORGA_GH_TOKEN }} # GitHub Token With Relevant Permissions

build:

runs-on: ubuntu-latest
Expand Down Expand Up @@ -39,6 +65,8 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Build and push limo_ros2 for arm64
# only build for arm if not PR to speed things up
if: ${{ github.event_name != 'pull_request' }}
uses: docker/build-push-action@v5
with:
context: .devcontainer
Expand Down
Loading