update how to pass in container name to proxy workflow #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |