diff --git a/.github/workflows/build-ylem-container-prod-env.yaml b/.github/workflows/build-ylem-container-prod-env.yaml new file mode 100644 index 0000000..f89649d --- /dev/null +++ b/.github/workflows/build-ylem-container-prod-env.yaml @@ -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' } + }); diff --git a/.github/workflows/build-ylem-container-test-env.yaml b/.github/workflows/build-ylem-container-test-env.yaml new file mode 100644 index 0000000..f73a7e0 --- /dev/null +++ b/.github/workflows/build-ylem-container-test-env.yaml @@ -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' } + });