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
30 changes: 0 additions & 30 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ permissions:
packages: read
# This is required for creating and modifying releases
id-token: write
# Required for workflow dispatch
actions: write

concurrency:
group: release-${{ github.ref }}
Expand Down Expand Up @@ -75,31 +73,3 @@ jobs:
./.build/tn_${{ env.VERSION }}_linux_amd64.tar.gz
./.build/tn_${{ env.VERSION }}_linux_arm64.tar.gz
token: ${{ secrets.GITHUB_TOKEN }}

trigger-builds:
name: Trigger AMI and Docker builds
runs-on: ubuntu-latest
needs: build-release
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Trigger AMI build
uses: actions/github-script@v7
with:
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'ami-build.yml',
ref: context.ref
});

- name: Trigger Docker build
uses: actions/github-script@v7
with:
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'publish-node-image.yaml',
ref: context.ref
});
Loading