Skip to content

Commit

Permalink
trying to automate the build
Browse files Browse the repository at this point in the history
  • Loading branch information
ctr26 committed Feb 21, 2024
1 parent 263c7d2 commit bc15b3e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 16 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build Workflow

on:
workflow_call:

jobs:
trigger-builds:
runs-on: ubuntu-latest
strategy:
matrix:
baseImage: ['nvcr.io/nvidia/tritonserver']
baseTag: ['23.08']
steps:
- name: Trigger Manually Triggered Build and Push Workflow
uses: ./.github/workflows/build.yml # Ensure this references the correct path and branch
with:
baseImage: ${{ matrix.baseImage }}
baseTag: ${{ matrix.baseTag }}
20 changes: 4 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
name: Release Workflow

name: release
on:
push:
branches:
- main # Adjust this to match your release branch or triggering condition

- "*"
jobs:
trigger-builds:
runs-on: ubuntu-latest
strategy:
matrix:
baseImage: ['nvcr.io/nvidia/tritonserver']
baseTag: ['23.08']
steps:
- name: Trigger Manually Triggered Build and Push Workflow
uses: ./.github/workflows/build.yml # Ensure this references the correct path and branch
with:
baseImage: ${{ matrix.baseImage }}
baseTag: ${{ matrix.baseTag }}
build:
uses: ./.github/workflows/build_workflow.yml

0 comments on commit bc15b3e

Please sign in to comment.