Skip to content

update how to pass in container name to proxy workflow #2

update how to pass in container name to proxy workflow

update how to pass in container name to proxy workflow #2

name: "Run Container Workflow"
description: "Runs a specified container workflow"
on: workflow_call
inputs:
workflow:
description: "The workflow file to run"
required: true
runs:
using: "composite"
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run specified workflow
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh workflow run .github/workflows/container-${{ inputs.container }}.yaml