Add ability to provide token for private repo for requirements_git in container build (#15831) (#6830)

Add ability to provide auth to private repo for requirements_git
This commit is contained in:
Hao Liu
2025-02-12 15:00:37 -05:00
committed by GitHub
parent 63bb4d66ef
commit 397fb297bf
8 changed files with 38 additions and 0 deletions

View File

@@ -9,6 +9,10 @@ inputs:
required: false
default: false
type: boolean
private-github-token:
description: GitHub Token for private repositories
required: false
default: ''
outputs:
ip:
description: The IP of the tools_awx_1 container
@@ -23,6 +27,7 @@ runs:
uses: ./.github/actions/awx_devel_image
with:
github-token: ${{ inputs.github-token }}
private-github-token: ${{ inputs.private-github-token}}
- name: Upgrade ansible-core
shell: bash