Skip to content

Commit

Permalink
Merge pull request #4 from tloncorp/reid/TLON-2697/ship-breach
Browse files Browse the repository at this point in the history
Add cross-repo build workflows
  • Loading branch information
dosullivan authored Oct 21, 2024
2 parents 089fe93 + 29e0a05 commit 255c4a5
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build-ylem-container-prod-env.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Trigger internal azimuth-cli prod build

on:
workflow_dispatch:
push:
branches:
- solaris

jobs:
trigger-prod:
runs-on: ubuntu-latest
steps:
- name: Send repository dispatch to ylem (prod)
uses: actions/github-script@v6
with:
script: |
const { GITHUB_TOKEN } = process.env;
await github.repos.createDispatchEvent({
owner: 'tloncorp',
repo: 'ylem',
event_type: 'prod-breach-ship-docker',
client_payload: { branch: 'main' }
});
20 changes: 20 additions & 0 deletions .github/workflows/build-ylem-container-test-env.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Trigger internal azimuth-cli prod build

on:
workflow_dispatch:

jobs:
trigger-test:
runs-on: ubuntu-latest
steps:
- name: Send repository dispatch to ylem (test)
uses: actions/github-script@v6
with:
script: |
const { GITHUB_TOKEN } = process.env;
await github.repos.createDispatchEvent({
owner: 'tloncorp',
repo: 'ylem',
event_type: 'test-breach-ship-docker',
client_payload: { branch: 'main' }
});

0 comments on commit 255c4a5

Please sign in to comment.