diff --git a/.github/workflows/createNewRelease.yaml b/.github/workflows/createNewRelease.yaml index fdb9e03614..1e9ca6819b 100644 --- a/.github/workflows/createNewRelease.yaml +++ b/.github/workflows/createNewRelease.yaml @@ -42,7 +42,8 @@ jobs: uses: actions/checkout@v2 - name: Run container workflow - uses: ./.github/workflows/container-${{ matrix.container }}.yaml + uses: ./.github/actions/run-container-workflow + workflow: ${{ matrix.container }} tag-release: name: Update phdi init version number diff --git a/.github/workflows/run-container-workflow.yaml b/.github/workflows/run-container-workflow.yaml index 4c566d0db0..8d3cd8aebf 100644 --- a/.github/workflows/run-container-workflow.yaml +++ b/.github/workflows/run-container-workflow.yaml @@ -13,5 +13,7 @@ runs: uses: actions/checkout@v2 - name: Run specified workflow + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh workflow run ${{ inputs.workflow }} + gh workflow run .github/workflows/container-${{ inputs.workflow }}.yaml